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

Commit 92c0322

Browse files
author
Hector Fernandez
authored
Makefile: fix directory not found error (#1718)
Signed-off-by: hectorj2f <hectorf@vmware.com>
1 parent 9008111 commit 92c0322

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,14 @@ cosign: $(SRCS)
9191
cosign-pivkey-pkcs11key: $(SRCS)
9292
CGO_ENABLED=1 go build -trimpath -tags=pivkey,pkcs11key -ldflags "$(LDFLAGS)" -o cosign ./cmd/cosign
9393

94+
## Build cosigned binary
9495
.PHONY: cosigned
95-
cosigned: ## Build cosigned binary
96+
cosigned: policy-webhook
9697
CGO_ENABLED=0 go build -trimpath -ldflags "$(LDFLAGS)" -o $@ ./cmd/cosign/webhook
9798

9899
.PHONY: policy-webhook
99100
policy-webhook: ## Build the policy webhook binary
100-
CGO_ENABLED=0 go build -trimpath -ldflags "$(LDFLAGS)" -o $@ ./cmd/cosign/policy-webhook
101+
CGO_ENABLED=0 go build -trimpath -ldflags "$(LDFLAGS)" -o $@ ./cmd/cosign/policy_webhook
101102

102103
.PHONY: sget
103104
sget: ## Build sget binary

0 commit comments

Comments
 (0)