mirror of
https://github.com/ansible/awx-operator.git
synced 2026-03-26 21:33:14 +00:00
21
.github/workflows/promote.yaml
vendored
21
.github/workflows/promote.yaml
vendored
@@ -22,28 +22,11 @@ jobs:
|
||||
|
||||
- name: Re-tag and promote awx-operator image
|
||||
run: |
|
||||
# Promote operator image
|
||||
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 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
|
||||
# Promote bundle image
|
||||
docker pull ghcr.io/${{ github.repository }}-bundle:v${{ github.event.release.tag_name }}
|
||||
docker tag \
|
||||
ghcr.io/${{ github.repository }}-bundle:v${{ github.event.release.tag_name }} \
|
||||
quay.io/${{ github.repository }}-bundle:v${{ github.event.release.tag_name }}
|
||||
docker push quay.io/${{ github.repository }}-bundle:v${{ github.event.release.tag_name }}
|
||||
# Promote catalog image
|
||||
docker pull ghcr.io/${{ github.repository }}-catalog:v${{ github.event.release.tag_name }}
|
||||
docker tag \
|
||||
ghcr.io/${{ github.repository }}-catalog:v${{ github.event.release.tag_name }} \
|
||||
quay.io/${{ github.repository }}-catalog:v${{ github.event.release.tag_name }}
|
||||
docker push quay.io/${{ github.repository }}-catalog:v${{ github.event.release.tag_name }}
|
||||
|
||||
- name: Release Helm chart
|
||||
run: |
|
||||
|
||||
3
.github/workflows/stage.yml
vendored
3
.github/workflows/stage.yml
vendored
@@ -63,8 +63,7 @@ jobs:
|
||||
BUILD_ARGS="--build-arg DEFAULT_AWX_VERSION=${{ github.event.inputs.default_awx_version }} \
|
||||
--build-arg OPERATOR_VERSION=${{ github.event.inputs.version }}" \
|
||||
IMAGE_TAG_BASE=ghcr.io/${{ github.repository_owner }}/awx-operator \
|
||||
VERSION=${{ github.event.inputs.version }} \
|
||||
make bundle docker-build docker-push bundle-build bundle-push catalog-build catalog-push
|
||||
VERSION=${{ github.event.inputs.version }} make docker-build docker-push
|
||||
|
||||
- name: Run test deployment
|
||||
working-directory: awx-operator
|
||||
|
||||
Reference in New Issue
Block a user