summaryrefslogtreecommitdiffstats
path: root/.github/workflows/promote.yml
diff options
context:
space:
mode:
authorHao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>2024-02-26 23:05:57 +0100
committerGitHub <noreply@github.com>2024-02-26 23:05:57 +0100
commit09b028ee3c16716a585b1f2f258abcc87b9a023c (patch)
tree277f010bd4d8716ea4db3fa26f1217ac9c77f089 /.github/workflows/promote.yml
parentFix ui_next banner (#14928) (diff)
downloadawx-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.yml14
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 }}