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 }}