Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 73235ac

Browse files
authored
images: remove --bare flags that conflict with --base-import-paths (#1533)
Signed-off-by: cpanato <ctadeu@gmail.com>
1 parent f1c0b71 commit 73235ac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ endef
140140
ko:
141141
$(create_kocache_path)
142142
LDFLAGS="$(LDFLAGS)" GIT_HASH=$(GIT_HASH) GIT_VERSION=$(GIT_VERSION) \
143-
KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths --bare \
143+
KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths \
144144
--platform=all --tags $(GIT_VERSION) --tags $(GIT_HASH) \
145145
$(ARTIFACT_HUB_LABELS) \
146146
github.com/sigstore/cosign/cmd/cosign
@@ -153,7 +153,7 @@ ko:
153153

154154
# sget
155155
LDFLAGS="$(LDFLAGS)" GIT_HASH=$(GIT_HASH) GIT_VERSION=$(GIT_VERSION) \
156-
KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths --bare \
156+
KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths \
157157
--platform=all --tags $(GIT_VERSION) --tags $(GIT_HASH) \
158158
$(ARTIFACT_HUB_LABELS) \
159159
github.com/sigstore/cosign/cmd/sget
@@ -162,7 +162,7 @@ ko:
162162
ko-local:
163163
$(create_kocache_path)
164164
LDFLAGS="$(LDFLAGS)" GIT_HASH=$(GIT_HASH) GIT_VERSION=$(GIT_VERSION) \
165-
KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths --bare \
165+
KOCACHE=$(KOCACHE_PATH) ko build --base-import-paths \
166166
--tags $(GIT_VERSION) --tags $(GIT_HASH) --local \
167167
$(ARTIFACT_HUB_LABELS) \
168168
github.com/sigstore/cosign/cmd/cosign

0 commit comments

Comments
 (0)