Skip to content

Commit

Permalink
Fix CI registry URL... again
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Sluiter <[email protected]>
(cherry picked from commit ce45c15)
  • Loading branch information
slintes committed Apr 8, 2020
1 parent f7ab8b5 commit 0996ce4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openshift-ci/Dockerfile.registry.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ ARG OPENSHIFT_BUILD_NAMESPACE

COPY deploy/olm-catalog /registry/performance-addon-operator-catalog

# easier switching between CI clusters...
#ENV REG_URL=default-route-openshift-image-registry.apps.build01.ci.devcluster.openshift.com
ENV REG_URL=registry.svc.ci.openshift.org

# replaces performance-addon-operator image with the one built by openshift ci
RUN find /registry/performance-addon-operator-catalog/ -type f -exec sed -i "s|REPLACE_IMAGE|default-route-openshift-image-registry.apps.build01.ci.devcluster.openshift.com/$OPENSHIFT_BUILD_NAMESPACE/stable:performance-addon-operator|g" {} \; || :
RUN find /registry/performance-addon-operator-catalog/ -type f -exec sed -i "s|REPLACE_IMAGE|${REG_URL}/${OPENSHIFT_BUILD_NAMESPACE}/stable:performance-addon-operator|g" {} \; || :
# Initialize the database
RUN initializer --manifests /registry/performance-addon-operator-catalog --output bundles.db

Expand Down

0 comments on commit 0996ce4

Please sign in to comment.