Skip to content

Commit

Permalink
Don't retag with latest label
Browse files Browse the repository at this point in the history
Co-Authored-By: Yuvi Panda <[email protected]>
  • Loading branch information
weiji14 and yuvipanda committed Dec 5, 2022
1 parent 014714b commit f58fac1
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/retag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,10 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}

- name: Pull Image for Corresponding GitHub Commit
run: |
docker pull quay.io/cryointhecloud/cryo-hub-image:${SHA12}
run: docker pull quay.io/cryointhecloud/cryo-hub-image:${SHA12}

- name: Retag Images
run: |
docker tag cryointhecloud/cryo-hub-image:${SHA12} quay.io/cryointhecloud/cryo-hub-image:latest
docker tag cryointhecloud/cryo-hub-image:${SHA12} quay.io/cryointhecloud/cryo-hub-image:${TAG}
run: docker tag cryointhecloud/cryo-hub-image:${SHA12} quay.io/cryointhecloud/cryo-hub-image:${TAG}

- name: Push Tags To Quay.io
run: |
docker push quay.io/cryointhecloud/cryo-hub-image:latest
docker push quay.io/cryointhecloud/cryo-hub-image:${TAG}
run: docker push quay.io/cryointhecloud/cryo-hub-image:${TAG}

0 comments on commit f58fac1

Please sign in to comment.