You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Attach SPDX SBOM attestations to published container images #4119
Is your feature request related to a problem? Please describe.
The published OpenCloud container images (opencloudeu/opencloud, opencloudeu/opencloud-rolling) do not currently carry OCI SBOM attestations.
My dependency update tool, Count Patchula, surfaces CVEs for Docker image updates by comparing image SBOMs against OSV.dev without pulling image layers. Without an SBOM attached to the image index, neither Count Patchula nor other registry-side SBOM/vulnerability scanners can tell which OS or package advisories a new OpenCloud image digest resolves.
Describe the solution you'd like
Attach BuildKit SPDX SBOM attestations (--sbom=true / in-toto.io/predicate-type: https://spdx.dev/Document) to the multi-arch container images built in .woodpecker.star (container-build-* → build-and-push).
Describe alternatives you've considered
Generating an SPDX SBOM with syft and attaching it to the pushed manifest digest (e.g. as an OCI referrer or cosign attestation) alongside the existing signing step.
Note on woodpeckerci/plugin-docker-buildx: it currently exposes provenance (--provenance) in plugin/docker.go, but does not yet expose an sbom (--sbom) setting — so using BuildKit's native --sbom=true via the plugin would first need an sbom flag added in woodpecker-ci/plugin-docker-buildx (or invoking docker buildx build --sbom=true directly).
Additional context
OpenCloud's multi-arch images already build with BuildKit (woodpeckerci/plugin-docker-buildx) on an Alpine base (alpine:3.24), so BuildKit's built-in SBOM generator (or Syft) will automatically produce a complete SPDX package list for the image.
Activity