From 881d6c70f609e1845d34181b384d995838a6ac04 Mon Sep 17 00:00:00 2001 From: Samir Tapiero Date: Thu, 28 Nov 2024 10:41:08 -0500 Subject: [PATCH] Update the build image to include the latest tag --- .github/workflows/cd.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 1ba390b7..4afb74cd 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -36,7 +36,9 @@ jobs: with: context: . push: true - tags: ${{ steps.login-ecr.outputs.registry }}/${{ vars.ECR_REPOSITORY }}:${{ github.sha }} + tags: | + ${{ steps.login-ecr.outputs.registry }}/${{ vars.ECR_REPOSITORY }}:${{ github.sha }} + ${{ steps.login-ecr.outputs.registry }}/${{ vars.ECR_REPOSITORY }}:latest - name: Get the image digest id: image-digest