From 08e9df87fc048b8702e58c4b2b99ccf8cb7b104f Mon Sep 17 00:00:00 2001 From: prafull01 Date: Sat, 22 Jul 2023 01:38:33 +0530 Subject: [PATCH] Fix the jobs to release on openshift certification --- build/release/teamcity-publish-openshift.sh | 4 ++-- cmd/cockroach-operator/BUILD.bazel | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build/release/teamcity-publish-openshift.sh b/build/release/teamcity-publish-openshift.sh index 932312b1b..e5449105e 100755 --- a/build/release/teamcity-publish-openshift.sh +++ b/build/release/teamcity-publish-openshift.sh @@ -18,8 +18,8 @@ set -euxo pipefail source "$(dirname "${0}")/teamcity-support.sh" RH_PROJECT_ID="5e6027425c5456060d5f6084" -RH_REGISTRY="scan.connect.redhat.com" -RH_OPERATOR_IMG="${RH_REGISTRY}/ospid-cf721588-ad8a-4618-938c-5191c5e10ae4/cockroachdb-operator:${TAG}" +RH_REGISTRY="quay.io" +RH_OPERATOR_IMG="${RH_REGISTRY}/redhat-isv-containers/${RH_PROJECT_ID}:${TAG}" OPERATOR_IMG="docker.io/cockroachdb/cockroach-operator:${TAG}" if ! [[ -z "${DRY_RUN}" ]] ; then diff --git a/cmd/cockroach-operator/BUILD.bazel b/cmd/cockroach-operator/BUILD.bazel index fabf7c688..819a6a3ff 100644 --- a/cmd/cockroach-operator/BUILD.bazel +++ b/cmd/cockroach-operator/BUILD.bazel @@ -72,6 +72,7 @@ container_image( tars = [ ":licenses", ], + user = "1001", ) # fetch_crdb downloads the cockroach binary