Repository navigation
ci: generate SBOMs and sign release artifacts - #60
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Published 0.2.x archives have checksums but no release signature or archive SBOM. Generate CycloneDX SBOMs from both built Linux archives and keylessly sign the checksum manifest with Cosign. Explicitly retain Docker v2's existing per-platform BuildKit SPDX SBOMs and sign the multi-platform image index by digest.
Keep release-please's version/changelog/tag flow. The publishing job checks out the actual release tag, requires main ancestry and runs only from main; its exact OIDC identity is release.yml@refs/heads/main, not the checked-out tag. Grant OIDC only to that job and pin GoReleaser 2.20.2, Syft 1.57.2 and Cosign 3.1.4. No persistent signing key, new signing secret or runtime dependency.
After publication, download and verify the checksum bundle, archive/SBOM hashes, ELF architectures, release identity and SBOM-to-binary binding. Verify the GHCR index signature, tagged version/revision and both platform inventories. Fail on signing/verification errors; document partial-publication recovery and keep old releases explicitly unsigned.
Add a read-only, unsigned packaging job to existing CI, nine negative-control/verification tests, and user/maintainer verification instructions. Correct the stale README env-parity status. No agent delivery/runtime code changes.
Validation
Release limits
No tag, release or GHCR publication was created. Existing 0.2.x downloads remain unsigned. Actual GitHub OIDC/Fulcio/Rekor signing, GHCR signature retrieval and published-asset verification must be confirmed by the first normal release; unsigned PR snapshots cannot establish those results. The running 72h benchmark server was untouched.
Checklist