Print bake def (#4)

This commit is contained in:
CrazyMax
2020-12-23 20:15:23 +01:00
committed by GitHub
parent 301b8aecd8
commit 7cf3c8378f
4 changed files with 12 additions and 10 deletions

View File

@@ -21,9 +21,11 @@ async function run(): Promise<void> {
let inputs: context.Inputs = await context.getInputs();
core.info(`🏃 Starting bake...`);
core.startGroup(`🏃 Starting bake...`);
const args: string[] = await context.getArgs(inputs, buildxVersion);
await exec.exec('docker', [...args, '--print']);
await exec.exec('docker', args);
core.endGroup();
} catch (error) {
core.setFailed(error.message);
}