mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-26 13:18:05 +08:00

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 bc9cb2c66a
)
Signed-off-by: Brian Goff <cpuguy83@gmail.com>