From 09b028ee3c16716a585b1f2f258abcc87b9a023c Mon Sep 17 00:00:00 2001 From: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> Date: Mon, 26 Feb 2024 17:05:57 -0500 Subject: [PATCH] Publish multi-arch manifest of awx (#14929) Promote multi-arch awx manifest --- .github/workflows/promote.yml | 14 +++++++++----- 1 file 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 }}