File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 3030
3131 - uses : sigstore/cosign-installer@c3667d99424e7e6047999fb6246c0da843953c65 # v3.0.1
3232 - uses : anchore/sbom-action/download-syft@07978da4bdb4faa726e52dfc6b1bed63d4b56479 # v0.13.3
33+ - uses : imjasonh/setup-crane@00c9e93efa4e1138c9a7a5c594acd6c75a2fbf0c # v0.3
3334
3435 - name : Log into ghcr.io
3536 uses : docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a # v2.1.0
6465 checksum_file=$(echo "$ARTIFACTS" | jq -r '.[] | select (.type=="Checksum") | .path')
6566 echo "hashes=$(cat $checksum_file | base64 -w0)" >> "$GITHUB_OUTPUT"
6667
68+ - name : sign image
69+ run : |
70+ DIGEST=$(crane digest ghcr.io/cpanato/github_actions_exporter:${{ steps.get_tag.outputs.TAG }})
71+ cosign sign "ghcr.io/cpanato/github_actions_exporter@${DIGEST}"
72+
6773 provenance :
6874 needs :
6975 - release
Original file line number Diff line number Diff line change 5555 - id : ko-image
5656 main : .
5757 base_image : cgr.dev/chainguard/static
58- repository : ghcr.io/cpanato/github_actions_exporter
58+ repository : ghcr.io/cpanato
5959 platforms :
6060 - all
6161 tags :
6666 preserve_import_paths : false
6767 base_import_paths : true
6868
69- docker_signs :
70- - artifacts : all
71- args : ["sign", "${artifact}"]
72-
7369release :
7470 github :
7571 owner : cpanato
You can’t perform that action at this time.
0 commit comments