build: avoid compatability error when attestations disabled
We should avoid erroring with attestations support compatability errors
when a user has specified --provenance=false.
A user may wish to enable --provenance=false that works across buildkit
versions, but currently it will fail on old versions - this patch fixes
this, to silently ignore the provenance flag for this check if it's set
to disabled.
Signed-off-by: Justin Chadwell <me@jedevc.com>
(cherry picked from commit 15a80b56b5
)
Signed-off-by: Justin Chadwell <me@jedevc.com>
pull/1545/head
parent
b7781447d7
commit
033d5629c0
Loading…
Reference in New Issue