Skip to content

Conversation

@jayavenkatesh19
Copy link

@jayavenkatesh19 jayavenkatesh19 commented Oct 23, 2025

Towards https://github.com/rapidsai/build-infra/issues/280.

Adds SBOMs to every image published in this repo.

For Linux images

Instead of pushing directly from the devcontainer build command, changed to build images locally. Then a follow up buildx stage is run that uses Syft to scan the local image, copies the SBOM into /sbom/sbom.json, and then pushes the image with the SBOM. Manifest publishing is left unchanged, as the action still returns per-arch digest via log grep

For windows images

After building the image, downloads the Syft windows binary based on runner architecture, scans the image and adds the SBOM via the sbom.Dockerfile and rebuilds the image with the same tag.

@jayavenkatesh19 jayavenkatesh19 changed the title [WIP] Generate SBOM for all devcontainers Generate SBOM for all devcontainers Oct 28, 2025
@jayavenkatesh19 jayavenkatesh19 marked this pull request as ready for review October 28, 2025 21:50
@jayavenkatesh19 jayavenkatesh19 requested a review from a team as a code owner October 28, 2025 21:50
@jayavenkatesh19 jayavenkatesh19 requested review from bdice and removed request for a team October 28, 2025 21:50
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.

1 participant