Skip to content

Commit

Permalink
Upadate promote.yml to copy multiarch image
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunidhi-Gaonkar1 committed Jun 30, 2022
1 parent 8ce91d3 commit bdfa79f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ jobs:
run: |
echo ${{ secrets.QUAY_TOKEN }} | docker login quay.io -u ${{ secrets.QUAY_USER }} --password-stdin
- name: Re-tag and promote awx image
run: |
docker pull ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}
docker tag ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }} quay.io/${{ github.repository }}:${{ github.event.release.tag_name }}
docker tag ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }} quay.io/${{ github.repository }}:latest
docker push quay.io/${{ github.repository }}:${{ github.event.release.tag_name }}
docker push quay.io/${{ github.repository }}:latest
- name: Copy Image to Quay
uses: akhilerm/[email protected]
with:
src: ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}
dst: |
quay.io/${{ github.repository }}:${{ github.event.release.tag_name }}
quay.io/${{ github.repository }}:latest

0 comments on commit bdfa79f

Please sign in to comment.