File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -108,17 +108,17 @@ export COSIGN_EXPERIMENTAL=1
108108
109109.PHONY : sign-docker-image
110110sign-docker-image :
111- @cosign sign $(DOCKER_IMAGE ) :$(VERSION )
111+ @cosign sign -y $(DOCKER_IMAGE ) :$(VERSION )
112112
113113.PHONY : sbom-docker-image
114114sbom-docker-image :
115115 @syft $(DOCKER_IMAGE ) :$(VERSION ) -o cyclonedx > bom.xml
116- @cosign attach sbom --sbom bom.xml --type cyclonedx $(DOCKER_IMAGE ) :$(VERSION )
117- @cosign sign --attachment sbom $(DOCKER_IMAGE ) :$(VERSION )
116+ @cosign attach sbom -y - -sbom bom.xml --type cyclonedx $(DOCKER_IMAGE ) :$(VERSION )
117+ @cosign sign -y - -attachment sbom $(DOCKER_IMAGE ) :$(VERSION )
118118
119119.PHONY : attest-docker-image
120120attest-docker-image :
121- @cosign attest --type slsaprovenance --predicate predicate.json $(DOCKER_IMAGE ) :$(VERSION )
121+ @cosign attest -y - -type slsaprovenance --predicate predicate.json $(DOCKER_IMAGE ) :$(VERSION )
122122
123123# A pre-commit hook is configured on this repository and can be installed using https://pre-commit.com/#3-install-the-git-hook-scripts
124124# This target can be used instead if the pre-commit hook is not desired
You can’t perform that action at this time.
0 commit comments