@@ -28,7 +28,6 @@ ENVCRDS_DIR=$(shell pwd)/testcrds
28
28
# environment variables before build the repo.
29
29
BUILD_LOCALLY ?= 1
30
30
31
- VCS_URL ?= https://github.com/IBM/operand-deployment-lifecycle-manager
32
31
VCS_REF ?= $(shell git rev-parse HEAD)
33
32
VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
34
33
git describe --match=$(git rev-parse --short=8 HEAD ) --always --dirty --abbrev=8)
@@ -258,20 +257,17 @@ kind-load-img:
258
257
build-operator-image : $(CONFIG_DOCKER_TARGET ) # # Build the operator image.
259
258
@echo " Building the $( OPERATOR_IMAGE_NAME) docker image for $( LOCAL_ARCH) ..."
260
259
@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 .
263
261
264
262
build-operator-dev-image : # # Build the operator dev image.
265
263
@echo " Building the $( DEV_REGISTRY) /$( OPERATOR_IMAGE_NAME) docker image..."
266
264
@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 .
269
266
270
267
build-test-operator-image : $(CONFIG_DOCKER_TARGET ) # # Build the operator test image.
271
268
@echo " Building the $( OPERATOR_IMAGE_NAME) docker image for testing..."
272
269
@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 .
275
271
276
272
# #@ Release
277
273
0 commit comments