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

[0.10] Add env var to disable default attestations #1645

Merged
merged 1 commit into from
Feb 22, 2023

Conversation

cpuguy83
Copy link
Contributor

For certain cases we need to build with --provenance=false. However not all build envs (especially in the OSS ethos) have the latest buildx so just blanket setting --provenance=false will fail in these cases.

Having an env var allows people to set the value without having to worry about if the buildx version has the --provenance flag.

(cherry picked from commit bc9cb2c)

For certain cases we need to build with `--provenance=false`.
However not all build envs (especially in the OSS ethos) have the latest
buildx so just blanket setting `--provenance=false` will fail in these
cases.

Having an env var allows people to set the value without having to worry
about if the buildx version has the `--provenance` flag.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
(cherry picked from commit bc9cb2c)
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
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