mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-25 05:07:44 +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 bc9cb2c66a6ea51bcd4971ee96e22bfe6c6a8ba8) Signed-off-by: Brian Goff <cpuguy83@gmail.com>