Преглед изворни кода

Merge pull request #2588 from mattray/justfile_develop_sync

cost-model was missing the build-args for version and commit
Matt Ray пре 2 година
родитељ
комит
42ec24e1ca
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      justfile

+ 4 - 0
justfile

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