Skip to content

Commit 96b9526

Browse files
committed
Do not add '-y' in cosign attach
1 parent 5567b29 commit 96b9526

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
@@ -113,7 +113,7 @@ sign-docker-image:
113113
.PHONY: sbom-docker-image
114114
sbom-docker-image:
115115
@syft $(DOCKER_IMAGE):$(VERSION) -o cyclonedx > bom.xml
116-
@cosign attach sbom -y --sbom bom.xml --type cyclonedx $(DOCKER_IMAGE):$(VERSION)
116+
@cosign attach sbom --sbom bom.xml --type cyclonedx $(DOCKER_IMAGE):$(VERSION)
117117
@cosign sign -y --attachment sbom $(DOCKER_IMAGE):$(VERSION)
118118

119119
.PHONY: attest-docker-image

0 commit comments

Comments
 (0)