Skip to content

Commit

Permalink
Update tag
Browse files Browse the repository at this point in the history
  • Loading branch information
jbi89 committed May 11, 2023
1 parent ee4a7bd commit e2c9563
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,7 @@ jobs:
- name: Push the Docker container
shell: bash
run: |
export GIT_TAG=$(echo $GITHUB_SHA | head -c 7)
docker tag dk-sample-backend:latest 400869475597.dkr.ecr.us-east-1.amazonaws.com/dk-sample-backend:$GIT_TAG
docker tag dk-sample-backend:latest 400869475597.dkr.ecr.us-east-1.amazonaws.com/dk-sample-backend:$TARGET_ENV
docker push 400869475597.dkr.ecr.us-east-1.amazonaws.com/dk-sample-backend:$GIT_TAG
docker push 400869475597.dkr.ecr.us-east-1.amazonaws.com/dk-sample-backend:$TARGET_ENV
docker tag dk-sample-backend:latest 400869475597.dkr.ecr.us-east-1.amazonaws.com/dk-sample-backend:latest
- name: Cleanup the containers
shell: bash
Expand Down

0 comments on commit e2c9563

Please sign in to comment.