Repository navigation
feat: add SBOMs to release workflow - #1940
Conversation
Signed-off-by: bupd <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1940 +/- ##
==========================================
- Coverage 87.33% 87.29% -0.04%
==========================================
Files 143 143
Lines 5535 5535
==========================================
- Hits 4834 4832 -2
- Misses 415 417 +2
Partials 286 286 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR adds Software Bill of Materials (SBOM) generation to the GitHub release workflow to improve supply chain security and transparency. The implementation uses goreleaser's built-in SBOM support with Syft v1.32.0 to automatically generate SBOMs for all release archives.
Key changes:
- Configure goreleaser to generate SBOMs for archive artifacts
- Install Syft v1.32.0 in the GitHub release workflow to support SBOM generation
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.goreleaser.yml |
Adds SBOM configuration to generate SBOMs for release archives |
.github/workflows/release-github.yml |
Installs Syft v1.32.0 to enable SBOM generation during the release process |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
FeynmanZhou
left a comment
There was a problem hiding this comment.
LGTM. Thanks @bupd ! Where can users download the SBOM? From the release page?
yes, exactly here is an example on how this would look like - https://github.com/kitops-ml/kitops/releases/tag/v1.10.0 |
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #1939
Please check the following list: