@@ -28,7 +28,6 @@ ENVCRDS_DIR=$(shell pwd)/testcrds
2828# environment variables before build the repo.
2929BUILD_LOCALLY ?= 1
3030
31- VCS_URL ?= https://github.com/IBM/operand-deployment-lifecycle-manager
3231VCS_REF ?= $(shell git rev-parse HEAD)
3332VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
3433 git describe --match=$(git rev-parse --short=8 HEAD ) --always --dirty --abbrev=8)
@@ -258,20 +257,17 @@ kind-load-img:
258257build-operator-image : $(CONFIG_DOCKER_TARGET ) # # Build the operator image.
259258 @echo " Building the $( OPERATOR_IMAGE_NAME) docker image for $( LOCAL_ARCH) ..."
260259 @docker build -t $(OPERATOR_IMAGE_NAME ) -$(LOCAL_ARCH ) :$(VERSION ) \
261- --build-arg VCS_REF=$(VCS_REF ) --build-arg VCS_URL=$(VCS_URL ) \
262- --build-arg GOARCH=$(LOCAL_ARCH ) -f Dockerfile .
260+ --build-arg VCS_REF=$(VCS_REF ) --build-arg GOARCH=$(LOCAL_ARCH ) -f Dockerfile .
263261
264262build-operator-dev-image : # # Build the operator dev image.
265263 @echo " Building the $( DEV_REGISTRY) /$( OPERATOR_IMAGE_NAME) docker image..."
266264 @docker build -t $(DEV_REGISTRY ) /$(OPERATOR_IMAGE_NAME ) :$(VERSION ) \
267- --build-arg VCS_REF=$(VCS_REF ) --build-arg VCS_URL=$(VCS_URL ) \
268- --build-arg GOARCH=$(LOCAL_ARCH ) -f Dockerfile .
265+ --build-arg VCS_REF=$(VCS_REF ) --build-arg GOARCH=$(LOCAL_ARCH ) -f Dockerfile .
269266
270267build-test-operator-image : $(CONFIG_DOCKER_TARGET ) # # Build the operator test image.
271268 @echo " Building the $( OPERATOR_IMAGE_NAME) docker image for testing..."
272269 @docker build -t $(QUAY_REGISTRY ) /$(OPERATOR_IMAGE_NAME ) :$(OPERATOR_TEST_TAG ) \
273- --build-arg VCS_REF=$(VCS_REF ) --build-arg VCS_URL=$(VCS_URL ) \
274- --build-arg GOARCH=$(LOCAL_ARCH ) -f Dockerfile .
270+ --build-arg VCS_REF=$(VCS_REF ) --build-arg GOARCH=$(LOCAL_ARCH ) -f Dockerfile .
275271
276272# #@ Release
277273
0 commit comments