Skip to content

Commit a95b4d2

Browse files
sxdmnencia
andauthored
chore: enable SBOMs within GoReleaser (#10074)
Enable GoReleaser SBOM generation for archives and packages (RPM/DEB), producing SPDX JSON SBOMs via syft. The existing `signs` configuration (`artifacts: all`) will automatically sign the generated SBOMs. Closes #10073 Signed-off-by: Jonathan Gonzalez V. <[email protected]> Signed-off-by: Marco Nenciarini <[email protected]> Co-authored-by: Marco Nenciarini <[email protected]>
1 parent 85bdcde commit a95b4d2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.goreleaser.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ snapshot:
124124
changelog:
125125
disable: true
126126

127+
sboms:
128+
- artifacts: archive
129+
- id: packages
130+
artifacts: package
131+
127132
signs:
128133
- artifacts: all
129134
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]

0 commit comments

Comments
 (0)