File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -233,10 +233,9 @@ jobs:
233233 with :
234234 go-version : " 1.23"
235235
236- - uses : sigstore/cosign-installer@v3
236+ - uses : sigstore/cosign-installer@v3.8.1
237237 with :
238- # DO NOT USE v2 until we decide on whether to use Rekor or not
239- cosign-release : " v1.13.1" # Binary version to install
238+ cosign-release : " v2.4.3" # Binary version to install
240239
241240 - name : Get Cosign Key
242241 run : |
Original file line number Diff line number Diff line change @@ -241,8 +241,13 @@ sbom/assets/troubleshoot-sbom.tgz: generate-sbom
241241 tar -czf sbom/assets/troubleshoot-sbom.tgz sbom/spdx/* .spdx
242242
243243sbom : sbom/assets/troubleshoot-sbom.tgz
244- cosign sign-blob -key cosign.key sbom/assets/troubleshoot-sbom.tgz > sbom/assets/troubleshoot-sbom.tgz.sig
245- cosign public-key -key cosign.key -outfile sbom/assets/key.pub
244+ cosign sign-blob \
245+ --key ./cosign.key \
246+ --tlog-upload \
247+ --yes \
248+ --rekor-url=https://rekor.sigstore.dev \
249+ sbom/assets/troubleshoot-sbom.tgz > sbom/assets/troubleshoot-sbom.tgz.sig
250+ cosign public-key --key cosign.key --outfile sbom/assets/key.pub
246251
247252.PHONY : scan
248253scan :
You can’t perform that action at this time.
0 commit comments