check BuildKit compatibility before setting default provenance opts

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-01-11 12:10:34 +01:00
parent 0149503e26
commit 74f883a069
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
4 changed files with 165 additions and 13 deletions

View file

@ -41,7 +41,7 @@ async function run(): Promise<void> {
});
});
const args: string[] = await context.getArgs(inputs, defContext, buildxVersion);
const args: string[] = await context.getArgs(inputs, defContext, buildxVersion, standalone);
const buildCmd = buildx.getCommand(args, standalone);
await exec
.getExecOutput(buildCmd.command, buildCmd.args, {