mirror of
https://github.com/docker/bake-action.git
synced 2026-03-02 22:52:44 +01:00
Print bake def (#4)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user