Skip to content

Commit 1f2964d

Browse files
authored
remove vcs_url (#391)
Signed-off-by: Allen Li <[email protected]>
1 parent 59f4f42 commit 1f2964d

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,12 @@ RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go build -a -o namespace-scope-opera
2424
FROM docker-na-public.artifactory.swg-devops.com/hyc-cloud-private-edge-docker-local/build-images/ubi9-minimal:latest
2525

2626
ARG VCS_REF
27-
ARG VCS_URL
2827
ARG RELEASE_VERSION
2928

3029
LABEL org.label-schema.vendor="IBM" \
3130
org.label-schema.name="IBM Namespace Scope Operator" \
3231
org.label-schema.description="This operator automates the extension of operator watch and service account permission scope to other namespaces in an openshift cluster." \
3332
org.label-schema.vcs-ref=$VCS_REF \
34-
org.label-schema.vcs-url=$VCS_URL \
3533
org.label-schema.license="Licensed Materials - Property of IBM" \
3634
org.label-schema.schema-version="1.0" \
3735
name="IBM Namespace Scope Operator" \

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ GOPATH=$(HOME)/go/bin/
3131
# environment variables before build the repo.
3232
BUILD_LOCALLY ?= 1
3333

34-
VCS_URL ?= https://github.com/IBM/ibm-namespace-scope-operator
3534
VCS_REF ?= $(shell git rev-parse HEAD)
3635
VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
3736
git describe --match=$(git rev-parse --short=8 HEAD) --always --dirty --abbrev=8)
@@ -216,7 +215,7 @@ e2e-test: ## Run e2e test
216215
build-operator-image: $(CONFIG_DOCKER_TARGET) ## Build the operator image.
217216
@echo "Building the $(OPERATOR_IMAGE_NAME) docker image for $(LOCAL_ARCH)..."
218217
@docker build -t $(OPERATOR_IMAGE_NAME)-$(LOCAL_ARCH):$(VERSION) \
219-
--build-arg VCS_REF=$(VCS_REF) --build-arg VCS_URL=$(VCS_URL) --build-arg RELEASE_VERSION=$(RELEASE_VERSION) \
218+
--build-arg VCS_REF=$(VCS_REF) --build-arg RELEASE_VERSION=$(RELEASE_VERSION) \
220219
--build-arg GOARCH=$(LOCAL_ARCH) -f Dockerfile .
221220

222221
##@ Release

0 commit comments

Comments
 (0)