ratify
ratify copied to clipboard
Generate SBOM and Provenance metadata for Ratify release assets
What would you like to be added?
Ratify publishes images to GHCR. Ratify should generate and attach SBOM + provenance metadata to the published images.
Anything else you would like to add?
No response
Are you willing to submit PRs to contribute to this feature?
- [ ] Yes, I am willing to implement it.
There are 2 approaches here:
- Use
docker buildx
's--attest
capability to generate Provenance and SBOM intoto attestations. These are attached to the image index as OCI images. This does NOT use the referrer method. However, multiple projects including GK already use this approach. It is also the simplest to implement. - Generate SBOM SLSA provenance manually using corresponding tools and then use ORAS to attach to the image
Closing since buildx attestation support has been added. New issue will be created to add SBOM and Provenance metadata as referrers artifacts attached to image.