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
108
108
109
109
.PHONY : sign-docker-image
110
110
sign-docker-image :
111
- @cosign sign $(DOCKER_IMAGE ) :$(VERSION )
111
+ @cosign sign -y $(DOCKER_IMAGE ) :$(VERSION )
112
112
113
113
.PHONY : sbom-docker-image
114
114
sbom-docker-image :
115
115
@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 )
118
118
119
119
.PHONY : attest-docker-image
120
120
attest-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 )
122
122
123
123
# A pre-commit hook is configured on this repository and can be installed using https://pre-commit.com/#3-install-the-git-hook-scripts
124
124
# 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