From 73235ac02e4acd4d022f05f774caea2e09d70616 Mon Sep 17 00:00:00 2001 From: Carlos Tadeu Panato Junior Date: Wed, 2 Mar 2022 14:26:34 +0100 Subject: [PATCH] images: remove --bare flags that conflict with --base-import-paths (#1533) Signed-off-by: cpanato --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d51e1e29915..2b379677e51 100644 --- a/Makefile +++ b/Makefile @@ -140,7 +140,7 @@ endef ko: $(create_kocache_path) LDFLAGS="$(LDFLAGS)" GIT_HASH=$(GIT_HASH) GIT_VERSION=$(GIT_VERSION) \ - KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths --bare \ + KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths \ --platform=all --tags $(GIT_VERSION) --tags $(GIT_HASH) \ $(ARTIFACT_HUB_LABELS) \ github.com/sigstore/cosign/cmd/cosign @@ -153,7 +153,7 @@ ko: # sget LDFLAGS="$(LDFLAGS)" GIT_HASH=$(GIT_HASH) GIT_VERSION=$(GIT_VERSION) \ - KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths --bare \ + KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths \ --platform=all --tags $(GIT_VERSION) --tags $(GIT_HASH) \ $(ARTIFACT_HUB_LABELS) \ github.com/sigstore/cosign/cmd/sget @@ -162,7 +162,7 @@ ko: ko-local: $(create_kocache_path) LDFLAGS="$(LDFLAGS)" GIT_HASH=$(GIT_HASH) GIT_VERSION=$(GIT_VERSION) \ - KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths --bare \ + KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths \ --tags $(GIT_VERSION) --tags $(GIT_HASH) --local \ $(ARTIFACT_HUB_LABELS) \ github.com/sigstore/cosign/cmd/cosign