|
@@ -43,6 +43,8 @@ build IMAGETAG VERSION=version: test (build-binary VERSION)
|
|
|
--platform "linux/amd64" \
|
|
--platform "linux/amd64" \
|
|
|
-f 'Dockerfile.cross' \
|
|
-f 'Dockerfile.cross' \
|
|
|
--build-arg binarypath=./cmd/costmodel/costmodel-amd64 \
|
|
--build-arg binarypath=./cmd/costmodel/costmodel-amd64 \
|
|
|
|
|
+ --build-arg version={{version}} \
|
|
|
|
|
+ --build-arg commit={{commit}} \
|
|
|
--provenance=false \
|
|
--provenance=false \
|
|
|
-t {{IMAGETAG}}-amd64 \
|
|
-t {{IMAGETAG}}-amd64 \
|
|
|
--push \
|
|
--push \
|
|
@@ -53,6 +55,8 @@ build IMAGETAG VERSION=version: test (build-binary VERSION)
|
|
|
--platform "linux/arm64" \
|
|
--platform "linux/arm64" \
|
|
|
-f 'Dockerfile.cross' \
|
|
-f 'Dockerfile.cross' \
|
|
|
--build-arg binarypath=./cmd/costmodel/costmodel-arm64 \
|
|
--build-arg binarypath=./cmd/costmodel/costmodel-arm64 \
|
|
|
|
|
+ --build-arg version={{version}} \
|
|
|
|
|
+ --build-arg commit={{commit}} \
|
|
|
--provenance=false \
|
|
--provenance=false \
|
|
|
-t {{IMAGETAG}}-arm64 \
|
|
-t {{IMAGETAG}}-arm64 \
|
|
|
--push \
|
|
--push \
|