From 4bb681edcd8d2767b84b0d188bdc390fc03a4fc8 Mon Sep 17 00:00:00 2001 From: Daniele Palaia Date: Wed, 6 Mar 2024 09:58:07 +0100 Subject: [PATCH] using quay registry instead of dockerhub --- .github/workflows/testing_and_publishing_OLM_bundle.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/testing_and_publishing_OLM_bundle.yml b/.github/workflows/testing_and_publishing_OLM_bundle.yml index 218dd4cbd..b1c2309fc 100644 --- a/.github/workflows/testing_and_publishing_OLM_bundle.yml +++ b/.github/workflows/testing_and_publishing_OLM_bundle.yml @@ -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 @@ -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