Skip to content

Commit

Permalink
Merge pull request #11 from reactome-pwp/update-ci
Browse files Browse the repository at this point in the history
added latest tag to ecr
  • Loading branch information
DerekTang04 authored Apr 15, 2024
2 parents 5f01a31 + 9a176e6 commit 003a09d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ jobs:
AWS_REPO: fireworks-layout
IMG_TAG: ${{ steps.get-hash.outputs.SHORT_SHA }}
run: |
AWS_URI=$AWS_REGISTRY/$AWS_REGISTRY_ALIAS/$AWS_REPO
docker load --input /tmp/image.tar
docker image tag tmp-tag $AWS_REGISTRY/$AWS_REGISTRY_ALIAS/$AWS_REPO:$IMG_TAG
docker push $AWS_REGISTRY/$AWS_REGISTRY_ALIAS/$AWS_REPO:$IMG_TAG
docker tag tmp-tag $AWS_URI:latest
docker push $AWS_URI:latest
docker tag $AWS_URI:latest $AWS_URI:$IMG_TAG
docker push $AWS_URI:$IMG_TAG

0 comments on commit 003a09d

Please sign in to comment.