Skip to content

Commit 4a403c5

Browse files
committed
fix: simplify Docker image tagging in ECR deployment workflow
1 parent 76fb26e commit 4a403c5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/deploy-to-ecr.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@ jobs:
6969
context: .
7070
file: ./Dockerfile
7171
push: true
72-
tags: | # Allow multiple tags
73-
${{ env.ECR_REPOSITORY_URL }}:${{ env.IMAGE_TAG }}
74-
${{ env.ECR_REPOSITORY_URL }}:latest
72+
tags: ${{ env.ECR_REPOSITORY_URL }}:latest
7573

7674
# Second Apply: Update ECS with new image
7775
- name: Terraform Apply (Update ECS with new image)

0 commit comments

Comments
 (0)