From ab76d4a753928bbcf5902d16d53d8209d225e41b Mon Sep 17 00:00:00 2001 From: digorgonzola <29941279+digorgonzola@users.noreply.github.com> Date: Wed, 24 Jan 2024 00:42:48 +1100 Subject: [PATCH] deploy workflows: correct image reference --- .github/workflows/deploy-production.yml | 2 +- .github/workflows/deploy-staging.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 83ca1d0..d39290f 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -89,7 +89,7 @@ jobs: with: task-definition: task-definition.json container-name: app - image: ${{ vars.ECR_REGISTRY }}/${{ vars.ECR_REPOSITORY }}:${{ needs.build_push.outputs.image_digest }} + image: ${{ vars.ECR_REGISTRY }}/${{ vars.ECR_REPOSITORY }}@${{ needs.build_push.outputs.image_digest }} - name: Display Rendered Template id: display-rendered-template diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 2d86593..841c622 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -90,7 +90,7 @@ jobs: with: task-definition: task-definition.json container-name: app - image: ${{ vars.ECR_REGISTRY }}/${{ vars.ECR_REPOSITORY }}:${{ needs.build_push.outputs.image_digest }} + image: ${{ vars.ECR_REGISTRY }}/${{ vars.ECR_REPOSITORY }}@${{ needs.build_push.outputs.image_digest }} - name: Display Rendered Template id: display-rendered-template