Skip to content

chore: enable SBOMs within GoReleaser#10074

Merged
mnencia merged 2 commits intomainfrom
dev/10073
Feb 25, 2026
Merged

chore: enable SBOMs within GoReleaser#10074
mnencia merged 2 commits intomainfrom
dev/10073

Conversation

@sxd
Copy link
Member

@sxd sxd commented Feb 25, 2026

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

@sxd sxd requested a review from a team as a code owner February 25, 2026 18:48
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 25, 2026
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.25 release-1.27 release-1.28 labels Feb 25, 2026
@github-actions
Copy link
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@dosubot dosubot bot added the chore Intangible work to reduce technical debt label Feb 25, 2026
The SBOMs generation is disable by default on GoReleaser, we joust need
to enable to start generating SBOMs.

Closes #10073

Signed-off-by: Jonathan Gonzalez V. <[email protected]>
Extend the GoReleaser SBOM configuration to also cover
RPM and DEB packages, not just archives.

Signed-off-by: Marco Nenciarini <[email protected]>
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 25, 2026
@mnencia
Copy link
Member

mnencia commented Feb 25, 2026

/ok-to-merge

@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label Feb 25, 2026
@mnencia mnencia merged commit a95b4d2 into main Feb 25, 2026
26 of 31 checks passed
@mnencia mnencia deleted the dev/10073 branch February 25, 2026 21:34
cnpg-bot pushed a commit that referenced this pull request Feb 25, 2026
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]>
(cherry picked from commit a95b4d2)
cnpg-bot pushed a commit that referenced this pull request Feb 25, 2026
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]>
(cherry picked from commit a95b4d2)
cnpg-bot pushed a commit that referenced this pull request Feb 25, 2026
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]>
(cherry picked from commit a95b4d2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-requested ◀️ This pull request should be backported to all supported releases chore Intangible work to reduce technical debt lgtm This PR has been approved by a maintainer ok to merge 👌 This PR can be merged release-1.25 release-1.27 release-1.28 size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Generate SBOMs for all the packages during the release

4 participants