Skip to content

Commit 237adc6

Browse files
TheRealHaoLiudmzoneill
authored andcommitted
Publish multi-arch versioned awx-ee
dependent on ansible/awx-ee#235
1 parent 09b028e commit 237adc6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/promote.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,6 @@ jobs:
9292
9393
- name: Re-tag and promote awx-ee image
9494
run: |
95-
docker pull ghcr.io/${{ github.repository_owner }}/awx-ee:${{ github.event.release.tag_name }}
96-
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 }}
97-
docker push quay.io/${{ github.repository_owner }}/awx-ee:${{ github.event.release.tag_name }}
95+
docker buildx imagetools create \
96+
ghcr.io/${{ github.repository_owner }}/awx-ee:${{ github.event.release.tag_name }} \
97+
--tag quay.io/${{ github.repository_owner }}/awx-ee:${{ github.event.release.tag_name }}

.github/workflows/stage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ jobs:
102102

103103
- name: tag awx-ee:latest with version input
104104
run: |
105-
docker pull quay.io/ansible/awx-ee:latest
106-
docker tag quay.io/ansible/awx-ee:latest ghcr.io/${{ github.repository_owner }}/awx-ee:${{ github.event.inputs.version }}
107-
docker push ghcr.io/${{ github.repository_owner }}/awx-ee:${{ github.event.inputs.version }}
105+
docker buildx imagetools create \
106+
quay.io/ansible/awx-ee:latest \
107+
--tag ghcr.io/${{ github.repository_owner }}/awx-ee:${{ github.event.inputs.version }}
108108
109109
- name: Stage awx-operator image
110110
working-directory: awx-operator

0 commit comments

Comments
 (0)