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

Exclude attestation manifests (sbom, provenance) during the build usi… #18

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

shivakunv
Copy link
Contributor

Exclude attestation manifests (sbom, provenance) during the build using buildx as some tools

@shivakunv shivakunv force-pushed the exclude_attestation_manifests branch from 245214f to f546134 Compare June 20, 2024 05:49
Copy link
Member

@elezar elezar left a comment

Choose a reason for hiding this comment

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

Could you comment on why you followed this approach and not the same one we used in https://github.com/NVIDIA/k8s-device-plugin/pull/765/files where we explicitly add:

--provenance=false --sbom=false \

to the docker build command?

@shivakunv
Copy link
Contributor Author

Could you comment on why you followed this approach and not the same one we used in https://github.com/NVIDIA/k8s-device-plugin/pull/765/files where we explicitly add:

--provenance=false --sbom=false \

to the docker build command?

In this method, we can use the ATTACH_ATTESTATIONS environment variable to disable provenance=false and --sbom=false changes.

@shivakunv shivakunv force-pushed the exclude_attestation_manifests branch from f546134 to a001b14 Compare June 28, 2024 06:52
@shivakunv shivakunv force-pushed the exclude_attestation_manifests branch from a001b14 to f849c79 Compare June 28, 2024 06:54
@cdesiniotis cdesiniotis merged commit c809fab into NVIDIA:main Jul 1, 2024
4 checks passed
@shivakunv shivakunv self-assigned this Jul 5, 2024
@shivakunv shivakunv deleted the exclude_attestation_manifests branch July 27, 2024 06:20
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.

3 participants