Skip to content

ci: attach SPDX SBOM to releases#2488

Open
kotakanbe wants to merge 1 commit intomasterfrom
ci-sbom
Open

ci: attach SPDX SBOM to releases#2488
kotakanbe wants to merge 1 commit intomasterfrom
ci-sbom

Conversation

@kotakanbe
Copy link
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