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
21
21
# Use distroless as minimal base image to package the manager binary
22
22
# Refer to https://github.com/GoogleContainerTools/distroless for more details
23
23
# 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
25
25
26
26
ARG VCS_REF
27
27
ARG VCS_URL
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ coverage: ## Run code coverage test
176
176
177
177
# #@ Build
178
178
179
- build-operator-image : # # Build the operator image.
179
+ build-operator-image : $( CONFIG_DOCKER_TARGET ) # # Build the operator image.
180
180
@echo " Building the $( OPERATOR_IMAGE_NAME) docker image for $( LOCAL_ARCH) ..."
181
181
@docker build -t $(OPERATOR_IMAGE_NAME ) -$(LOCAL_ARCH ) :$(VERSION ) \
182
182
--build-arg VCS_REF=$(VCS_REF ) --build-arg VCS_URL=$(VCS_URL ) \
Original file line number Diff line number Diff line change 17
17
18
18
KUBECTL=$( which kubectl)
19
19
DOCKER_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"
20
21
DOCKER_USERNAME=$( ${KUBECTL} -n default get secret artifactory-cred -o jsonpath=' {.data.username}' | base64 --decode)
21
22
DOCKER_PASSWORD=$( ${KUBECTL} -n default get secret artifactory-cred -o jsonpath=' {.data.password}' | base64 --decode)
22
23
@@ -25,4 +26,4 @@ CONTAINER_CLI=${CONTAINER_CLI:-docker}
25
26
26
27
# login the docker registry
27
28
${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