Skip to content

Commit a95b4d2

Browse files
sxdmnencia
andauthored
chore: enable SBOMs within GoReleaser (cloudnative-pg#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 cloudnative-pg#10073 Signed-off-by: Jonathan Gonzalez V. <jonathan.gonzalez@enterprisedb.com> Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com> Co-authored-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
1 parent 85bdcde commit a95b4d2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.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)