Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ci: attach SPDX SBOM to releases#2488

Open
kotakanbe wants to merge 1 commit into
masterfuture-architect/vuls:masterfrom
ci-sbomfuture-architect/vuls:ci-sbomCopy head branch name to clipboard
Open

ci: attach SPDX SBOM to releases#2488
kotakanbe wants to merge 1 commit into
masterfuture-architect/vuls:masterfrom
ci-sbomfuture-architect/vuls:ci-sbomCopy head branch name to clipboard

Conversation

@kotakanbe
Copy link
Copy Markdown
Member

Summary

  • Generate SPDX SBOM (Software Bill of Materials) for each release archive using syft
  • Each archive gets a corresponding .sbom.spdx.json file in the GitHub release
  • SBOM files are also signed by the existing cosign configuration (artifacts: all)

Changes

  • .goreleaser.yml: Add sboms section to generate SPDX JSON for each archive
  • .github/workflows/goreleaser.yml: Install syft via anchore/sbom-action/download-syft (SHA pinned)

Motivation

A vulnerability scanner should provide transparency about its own dependencies. Attaching SBOMs to releases allows users to verify the supply chain of the tool they rely on for security.

Test plan

  • goreleaser check passes with the updated config
  • Next tag push generates .sbom.spdx.json files alongside release archives

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.