Skip to content

Commit

Permalink
using quay registry instead of dockerhub
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielePalaia committed Mar 6, 2024
1 parent 466c4d0 commit 4bb681e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/testing_and_publishing_OLM_bundle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true
env:
# registry information where we want to store the operator image and the operator index image
DOCKER_REGISTRY_SERVER: docker.io/rabbitmqoperator
DOCKER_REGISTRY_SERVER: quay.io/rabbitmqoperator
OLM_IMAGE: rabbitmq-for-kubernetes-olm-cluster-operator
OLM_INDEX_IMAGE: rabbitmq-for-kubernetes-olm-cluster-operator-index

Expand Down Expand Up @@ -47,15 +47,15 @@ jobs:
- name: create-olm-package
env:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_ROBOT_TOKEN }}
DOCKER_REGISTRY_SERVER: ${{ env.DOCKER_REGISTRY_SERVER }}
OLM_IMAGE: ${{ env.OLM_IMAGE }}
OLM_INDEX_IMAGE: ${{ env.OLM_INDEX_IMAGE }}
BUNDLE_VERSION: ${{ env.BUNDLE_VERSION }}
run: |
sed '/mount_program =/s/^#//' -i /etc/containers/storage.conf
podman login -u $username -p $password
podman login quay.io -u $username -p $password
git config --global --add safe.directory /__w/cluster-operator/cluster-operator
git clone https://github.com/rabbitmq/OLM-Package-Repo -b using_dockerhub_instead_of_gcr
make generate-installation-manifest
Expand Down

0 comments on commit 4bb681e

Please sign in to comment.