Skip to content

Commit e746eab

Browse files
committed
chore(release): update SLSA provenance workflow and cosign signing configuration
- Switch SLSA GitHub generator workflow from v2 tag to main branch - Expand cosign signing from checksum artifacts to all artifacts - Update cosign args: use quoted flags, replace oidc-issuer with oidc-provider=github, reorder for consistency - Remove duplicate signs section at end of .goreleaser.yaml
1 parent f8d14a4 commit e746eab

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

.github/workflows/release-provenance.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99

1010
jobs:
1111
provenance:
12-
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v2
12+
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@main
1313
with:
1414
base64-subjects: |
1515
${{ github.repository }}@${{ github.ref }}

.goreleaser.yaml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,16 @@ checksum:
6565
name_template: "checksums.txt"
6666

6767
signs:
68-
- artifacts: checksum
68+
- cmd: cosign
6969
id: cosign
70-
cmd: cosign
70+
artifacts: all
7171
args:
7272
- sign-blob
73-
- --yes
74-
- --oidc-issuer=https://token.actions.githubusercontent.com
75-
- --output-signature=${signature}
76-
- --output-certificate=${certificate}
77-
- ${artifact}
73+
- "--yes"
74+
- "--oidc-provider=github"
75+
- "--output-signature=${signature}"
76+
- "--output-certificate=${certificate}"
77+
- "${artifact}"
7878

7979
homebrew_casks:
8080
- name: vibecheck
@@ -100,13 +100,3 @@ homebrew_casks:
100100
name: "Vibecheck Bot"
101101
email: "bot@vibecheck.sh"
102102
commit_msg_template: "chore(brew): update vibecheck to {{ .Tag }}"
103-
104-
signs:
105-
- artifacts: checksum
106-
cmd: cosign
107-
args:
108-
- sign-blob
109-
- "--yes"
110-
- "--output-signature=${signature}"
111-
- "--output-certificate=${certificate}"
112-
- "${artifact}"

0 commit comments

Comments
 (0)