File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -o namespace-scope-opera
2121# Use distroless as minimal base image to package the manager binary
2222# Refer to https://github.com/GoogleContainerTools/distroless for more details
2323# FROM gcr.io/distroless/static:nonroot
24- FROM registry.access.redhat .com/ubi8/ubi -minimal:latest
24+ FROM hyc-cloud-private-edge-docker-local.artifactory.swg-devops .com/build-images/ubi8 -minimal:latest
2525
2626ARG VCS_REF
2727ARG VCS_URL
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ coverage: ## Run code coverage test
176176
177177# #@ Build
178178
179- build-operator-image : # # Build the operator image.
179+ build-operator-image : $( CONFIG_DOCKER_TARGET ) # # Build the operator image.
180180 @echo " Building the $( OPERATOR_IMAGE_NAME) docker image for $( LOCAL_ARCH) ..."
181181 @docker build -t $(OPERATOR_IMAGE_NAME ) -$(LOCAL_ARCH ) :$(VERSION ) \
182182 --build-arg VCS_REF=$(VCS_REF ) --build-arg VCS_URL=$(VCS_URL ) \
Original file line number Diff line number Diff line change 1717
1818KUBECTL=$( which kubectl)
1919DOCKER_REGISTRY=" hyc-cloud-private-integration-docker-local.artifactory.swg-devops.com"
20+ DOCKER_EDGE_REGISTRY=" hyc-cloud-private-edge-docker-local.artifactory.swg-devops.com"
2021DOCKER_USERNAME=$( ${KUBECTL} -n default get secret artifactory-cred -o jsonpath=' {.data.username}' | base64 --decode)
2122DOCKER_PASSWORD=$( ${KUBECTL} -n default get secret artifactory-cred -o jsonpath=' {.data.password}' | base64 --decode)
2223
@@ -25,4 +26,4 @@ CONTAINER_CLI=${CONTAINER_CLI:-docker}
2526
2627# login the docker registry
2728${CONTAINER_CLI} login " ${DOCKER_REGISTRY} " -u " ${DOCKER_USERNAME} " -p " ${DOCKER_PASSWORD} "
28-
29+ ${CONTAINER_CLI} login " ${DOCKER_EDGE_REGISTRY} " -u " ${DOCKER_USERNAME} " -p " ${DOCKER_PASSWORD} "
You can’t perform that action at this time.
0 commit comments