File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ RUN make install-frontend
1212COPY web/ web/
1313RUN make build-frontend
1414
15- FROM brew. registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_golang_1.23 as go-builder
15+ FROM registry.redhat.io/ubi9/go-toolset:latest AS go-builder
1616
1717WORKDIR /opt/app-root
1818
Original file line number Diff line number Diff line change @@ -5,15 +5,18 @@ set -euo pipefail
55PREFER_PODMAN=" ${PREFER_PODMAN:- 1} "
66PUSH=" ${PUSH:- 0} "
77TAG=" ${TAG:- v0.1.0} "
8+
9+ REGISTRY_HOST=${REGISTRY_HOST:- quay.io}
810REGISTRY_ORG=" ${REGISTRY_ORG:- openshift-observability-ui} "
11+ REGISTRY_BASE=$REGISTRY_HOST /$REGISTRY_ORG
912
1013if [[ -x " $( command -v podman) " && $PREFER_PODMAN == 1 ]]; then
1114 OCI_BIN=" podman"
1215else
1316 OCI_BIN=" docker"
1417fi
1518
16- BASE_IMAGE=" quay.io/ ${REGISTRY_ORG } /troubleshooting-panel-console-plugin"
19+ BASE_IMAGE=" ${REGISTRY_BASE } /troubleshooting-panel-console-plugin"
1720IMAGE=${BASE_IMAGE} :${TAG}
1821
1922echo " Building image '${IMAGE} ' with ${OCI_BIN} "
You can’t perform that action at this time.
0 commit comments