diff options
author | Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> | 2024-02-26 23:05:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-26 23:05:57 +0100 |
commit | 09b028ee3c16716a585b1f2f258abcc87b9a023c (patch) | |
tree | 277f010bd4d8716ea4db3fa26f1217ac9c77f089 /.github/workflows/promote.yml | |
parent | Fix ui_next banner (#14928) (diff) | |
download | awx-09b028ee3c16716a585b1f2f258abcc87b9a023c.tar.xz awx-09b028ee3c16716a585b1f2f258abcc87b9a023c.zip |
Publish multi-arch manifest of awx (#14929)
Promote multi-arch awx manifest
Diffstat (limited to '.github/workflows/promote.yml')
-rw-r--r-- | .github/workflows/promote.yml | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 8251ab1f9f..3d6775de3d 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -83,11 +83,15 @@ jobs: - 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 + docker buildx imagetools create \ + ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }} \ + --tag quay.io/${{ github.repository }}:${{ github.event.release.tag_name }} + docker buildx imagetools create \ + ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }} \ + --tag quay.io/${{ github.repository }}:latest + + - name: Re-tag and promote awx-ee image + run: | docker pull ghcr.io/${{ github.repository_owner }}/awx-ee:${{ github.event.release.tag_name }} docker tag ghcr.io/${{ github.repository_owner }}/awx-ee:${{ github.event.release.tag_name }} quay.io/${{ github.repository_owner }}/awx-ee:${{ github.event.release.tag_name }} docker push quay.io/${{ github.repository_owner }}/awx-ee:${{ github.event.release.tag_name }} |