Skip to content

Commit 445d649

Browse files
jianzhangbjzrobpblake
authored andcommitted
use env for quay test (openshift#47102)
1 parent e68be1d commit 445d649

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ci-operator/step-registry/quay-tests/provisioning-omr-disconnected/quay-tests-provisioning-omr-disconnected-commands.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ OMR_AWS_SECRET_KEY=$(cat /var/run/quay-qe-omr-secret/secret_key)
1616
#Retrieve the Credentials of image registry "brew.registry.redhat.io"
1717
OMR_BREW_USERNAME=$(cat /var/run/quay-qe-brew-secret/username)
1818
OMR_BREW_PASSWORD=$(cat /var/run/quay-qe-brew-secret/password)
19-
OMR_IMAGE_TAG="brew.registry.redhat.io/rh-osbs/${OMR_IMAGE}"
19+
if [ -z "${OMR_IMAGE_ENV+x}" ]; then
20+
OMR_IMAGE_TAG="brew.registry.redhat.io/rh-osbs/${OMR_IMAGE}"
21+
else
22+
OMR_IMAGE_TAG="brew.registry.redhat.io/rh-osbs/${OMR_IMAGE_ENV}"
23+
fi
2024
OMR_RELEASED_TEST="${OMR_RELEASE}"
2125
OMR_CI_NAME="omrprowci$RANDOM"
2226

0 commit comments

Comments
 (0)