Skip to content

Commit 380b6c4

Browse files
committed
amend image tag
1 parent 79982d2 commit 380b6c4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/deploy.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@ jobs:
5454
5555
- name: Push to ECR
5656
run: |
57-
docker tag ${{ vars.ECR_URL }}:${{ github.sha }} ${{ vars.ECR_URL }}:staging.latest
58-
docker tag ${{ vars.ECR_URL }}:${{ github.sha }} ${{ vars.ECR_URL }}:production.latest
59-
docker push ${{ vars.ECR_URL }}:${{ github.sha }}
60-
docker push ${{ vars.ECR_URL }}:staging.latest
61-
docker push ${{ vars.ECR_URL }}:production.latest
57+
docker tag ${{ vars.ECR_URL }}:$SHA
6258
6359
deploy-staging:
6460
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)