Skip to content

Commit 6897e4b

Browse files
authored
ci: update cosign to v2 (action to v3) (#118)
1 parent 5d565cb commit 6897e4b

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
username: ${{ github.actor }}
3636
password: ${{ secrets.GITHUB_TOKEN }}
3737
- name: Setup Cosign
38-
uses: sigstore/cosign-installer@9becc617647dfa20ae7b1151972e9b3a2c338a2b #v2.8.1
38+
uses: sigstore/cosign-installer@9e9de2292db7abb3f51b7f4808d98f0d347a8919 # v3.0.2
3939
- uses: anchore/sbom-action/download-syft@422cb34a0f8b599678c41b21163ea6088edb2624 # v0.14.1
4040
- name: Create release and SBOM
4141
if: startsWith(github.ref, 'refs/tags/v')

.goreleaser.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,17 @@ signs:
101101
- "--output-certificate=${certificate}"
102102
- "--output-signature=${signature}"
103103
- "${artifact}"
104+
- --yes
104105
artifacts: checksum
105106
output: true
106107

107108
docker_signs:
108-
- cmd: cosign
109-
env:
110-
- COSIGN_EXPERIMENTAL=1
111-
artifacts: images
112-
output: true
113-
args:
114-
- 'sign'
115-
- '${artifact}'
109+
- cmd: cosign
110+
env:
111+
- COSIGN_EXPERIMENTAL=1
112+
artifacts: images
113+
output: true
114+
args:
115+
- 'sign'
116+
- '${artifact}'
117+
- --yes

0 commit comments

Comments
 (0)