Răsfoiți Sursa

Update release.yaml

abelanger5 4 ani în urmă
părinte
comite
4059a48844
1 a modificat fișierele cu 5 adăugiri și 1 ștergeri
  1. 5 1
      .github/workflows/release.yaml

+ 5 - 1
.github/workflows/release.yaml

@@ -373,7 +373,11 @@ jobs:
           aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/o1j4x7p4
       - name: Build
         run: |
-          docker build ./services/porter_cli_container -t public.ecr.aws/o1j4x7p4/porter-cli:${{steps.tag_name.outputs.tag}} -t public.ecr.aws/o1j4x7p4/porter-cli:latest -f ./services/porter_cli_container/Dockerfile
+          docker build ./services/porter_cli_container \
+            -t public.ecr.aws/o1j4x7p4/porter-cli:${{steps.tag_name.outputs.tag}} \
+            -t public.ecr.aws/o1j4x7p4/porter-cli:latest \
+            -f ./services/porter_cli_container/Dockerfile \
+            --build-arg VERSION=${{steps.tag_name.outputs.tag}}
       - name: Push
         run: |
           docker push public.ecr.aws/o1j4x7p4/porter-cli:${{steps.tag_name.outputs.tag}}