File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 uses : anchore/sbom-action/download-syft@57aae528053a48a3f6235f2d9461b05fbcb7366d # v0.23.1
4141
4242 - name : Setup Cosign
43- uses : sigstore/cosign-installer@ba7bc0a3fef59531c69a25acd34668d6d3fe6f22 # v4.1.0
44- with :
45- # TODO: update cosign and go-releaser, and adjust go-releaser config
46- cosign-release : ' v2.6.2'
43+ uses : sigstore/cosign-installer@a7bc0a3fef59531c69a25acd34668d6d3fe6f22 # v4.1.0
4744
4845 - name : Setup QEMU
4946 uses : docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
Original file line number Diff line number Diff line change @@ -150,14 +150,10 @@ sboms:
150150signs :
151151 - cmd : cosign
152152 artifacts : checksum
153- signature : ' {{ trimsuffix .Env.artifact ".txt" }}.sig'
154- certificate : ' {{ trimsuffix .Env.artifact ".txt" }}.pem'
153+ signature : ' {{ trimsuffix .Env.artifact ".txt" }}.sigstore.json'
155154 args :
156155 - " sign-blob"
157- - " --output-signature"
158- - " ${signature}"
159- - " --output-certificate"
160- - " ${certificate}"
156+ - " --bundle=${signature}"
161157 - " ${artifact}"
162158 output : true
163159
@@ -300,13 +296,11 @@ release:
300296 ```shell
301297 # Download the checksums file, certificate and signature
302298 curl -LO https://github.com/{{ .Env.GITHUB_REPOSITORY }}/releases/download/{{ .Tag }}/{{ .ProjectName }}-v{{ .Version }}.checksums.txt
303- curl -LO https://github.com/{{ .Env.GITHUB_REPOSITORY }}/releases/download/{{ .Tag }}/{{ .ProjectName }}-v{{ .Version }}.checksums.pem
304- curl -LO https://github.com/{{ .Env.GITHUB_REPOSITORY }}/releases/download/{{ .Tag }}/{{ .ProjectName }}-v{{ .Version }}.checksums.sig
299+ curl -LO https://github.com/{{ .Env.GITHUB_REPOSITORY }}/releases/download/{{ .Tag }}/{{ .ProjectName }}-v{{ .Version }}.checksums.sigstore.json
305300
306301 # Verify the checksums file
307302 cosign verify-blob {{ .ProjectName }}-v{{ .Version }}.checksums.txt \
308- --certificate {{ .ProjectName }}-v{{ .Version }}.checksums.pem \
309- --signature {{ .ProjectName }}-v{{ .Version }}.checksums.sig \
303+ --bundle {{ .ProjectName }}-v{{ .Version }}.checksums.sigstore.json \
310304 --certificate-identity-regexp=https://github.com/{{ .Env.GITHUB_REPOSITORY_OWNER }} \
311305 --certificate-oidc-issuer=https://token.actions.githubusercontent.com
312306 ```
You can’t perform that action at this time.
0 commit comments