Skip to content

Commit c0d24e4

Browse files
authored
Merge pull request kubernetes-sigs#2059 from k8s-infra-cherrypick-robot/cherry-pick-2056-to-release-0.10
[release-0.10] 🐛 Fix empty version output in release builds
2 parents 1960fbb + d322e00 commit c0d24e4

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
@@ -306,7 +306,7 @@ generate-api-docs-%: $(GEN_CRD_API_REFERENCE_DOCS) FORCE
306306

307307
.PHONY: docker-build
308308
docker-build: ## Build the docker image for controller-manager
309-
docker build -f Dockerfile --build-arg goproxy=$(GOPROXY) --build-arg ARCH=$(ARCH) --build-arg LDFLAGS="$(LDFLAGS)" . -t $(CONTROLLER_IMG_TAG)
309+
docker build -f Dockerfile --build-arg goproxy=$(GOPROXY) --build-arg ARCH=$(ARCH) --build-arg ldflags="$(LDFLAGS)" . -t $(CONTROLLER_IMG_TAG)
310310

311311
.PHONY: docker-push
312312
docker-push: ## Push the docker image

0 commit comments

Comments
 (0)