From fcd4f4b4a8272b446f675c5139c0b41dbe9d4ab8 Mon Sep 17 00:00:00 2001 From: Matthew Booth Date: Fri, 3 May 2024 18:11:46 +0100 Subject: [PATCH] Fix empty version output in release builds --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index de21f50095..a0cf8ea518 100644 --- a/Makefile +++ b/Makefile @@ -282,7 +282,7 @@ generate-manifests: $(CONTROLLER_GEN) ## Generate manifests e.g. CRD, RBAC etc. .PHONY: docker-build docker-build: ## Build the docker image for controller-manager - docker build -f Dockerfile --build-arg goproxy=$(GOPROXY) --build-arg ARCH=$(ARCH) --build-arg LDFLAGS="$(LDFLAGS)" . -t $(CONTROLLER_IMG_TAG) + docker build -f Dockerfile --build-arg goproxy=$(GOPROXY) --build-arg ARCH=$(ARCH) --build-arg ldflags="$(LDFLAGS)" . -t $(CONTROLLER_IMG_TAG) .PHONY: docker-push docker-push: ## Push the docker image