Skip to content

Commit 349ec37

Browse files
authored
Merge pull request #2056 from shiftstack/issue2055
🐛 Fix empty version output in release builds
2 parents 65b360e + a806361 commit 349ec37

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

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

309309
.PHONY: docker-push
310310
docker-push: ## Push the docker image

0 commit comments

Comments
 (0)