forked from ansible/receptor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upadate promote.yml to copy multiarch image
- Loading branch information
1 parent
8ce91d3
commit bdfa79f
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||