Skip to content

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

Merged
tonistiigi merged 1 commit intodocker:v0.10from
cpuguy83:0.10_env_no_provenance
Feb 22, 2023
Merged

[0.10] Add env var to disable default attestations#1645
tonistiigi merged 1 commit intodocker:v0.10from
cpuguy83:0.10_env_no_provenance

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