Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: opt-in sbom and provenance #11

Merged
merged 3 commits into from
Jan 3, 2023
Merged

Conversation

crazy-max
Copy link
Member

No description provided.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
@crazy-max crazy-max requested a review from jedevc December 16, 2022 06:26
@crazy-max crazy-max marked this pull request as ready for review December 16, 2022 06:26
Dockerfile Outdated
@@ -40,6 +40,8 @@ RUN --mount=target=. <<EOT
EOT

FROM base as build
# enable scanning for this stage
ARG BUILDKIT_SBOM_SCAN_STAGE=true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need scanning at this step - the golang dependencies are automatically loaded from the go binary /bin/syft-scanner. This just also pulls in all the stuff from the build stages.

This doesn't work in buildkit, because syft doesn't open up tarballs it seems, I'll see if I can follow that up.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
@jedevc jedevc merged commit cc19961 into docker:master Jan 3, 2023
@crazy-max crazy-max deleted the ci-attest branch January 3, 2023 11:15
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