mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
chore: fix makefile nits (#6828)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
7a3f856ada
commit
6e07693571
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -199,7 +199,7 @@ $(KYVERNO_BIN): fmt vet
|
|||
|
||||
$(CLI_BIN): fmt vet
|
||||
@echo Build cli binary... >&2
|
||||
CGO_ENABLED=$(CGO_ENABLED) GOOS=$(GOOS) \
|
||||
@CGO_ENABLED=$(CGO_ENABLED) GOOS=$(GOOS) \
|
||||
go build -o ./$(CLI_BIN) -ldflags=$(LD_FLAGS) ./$(CLI_DIR)
|
||||
|
||||
$(CLEANUP_BIN): fmt vet
|
||||
|
@ -261,7 +261,7 @@ KO_BACKGROUND_REPO := $(PACKAGE)/$(BACKGROUND_DIR)
|
|||
.PHONY: ko-build-kyverno-init
|
||||
ko-build-kyverno-init: $(KO) ## Build kyvernopre local image (with ko)
|
||||
@echo Build kyvernopre local image with ko... >&2
|
||||
LD_FLAGS=$(LD_FLAGS) KOCACHE=$(KOCACHE) KO_DOCKER_REPO=$(KO_REGISTRY) \
|
||||
@LD_FLAGS=$(LD_FLAGS) KOCACHE=$(KOCACHE) KO_DOCKER_REPO=$(KO_REGISTRY) \
|
||||
$(KO) build ./$(KYVERNOPRE_DIR) --preserve-import-paths --tags=$(KO_TAGS) --platform=$(LOCAL_PLATFORM)
|
||||
|
||||
.PHONY: ko-build-kyverno
|
||||
|
|
Loading…
Reference in a new issue