Skip to content

Commit fcd4f4b

Browse files
mdboothk8s-infra-cherrypick-robot
authored andcommitted
Fix empty version output in release builds
1 parent 05f8e3d commit fcd4f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ generate-manifests: $(CONTROLLER_GEN) ## Generate manifests e.g. CRD, RBAC etc.
282282

283283
.PHONY: docker-build
284284
docker-build: ## Build the docker image for controller-manager
285-
docker build -f Dockerfile --build-arg goproxy=$(GOPROXY) --build-arg ARCH=$(ARCH) --build-arg LDFLAGS="$(LDFLAGS)" . -t $(CONTROLLER_IMG_TAG)
285+
docker build -f Dockerfile --build-arg goproxy=$(GOPROXY) --build-arg ARCH=$(ARCH) --build-arg ldflags="$(LDFLAGS)" . -t $(CONTROLLER_IMG_TAG)
286286

287287
.PHONY: docker-push
288288
docker-push: ## Push the docker image

0 commit comments

Comments
 (0)