mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-15 18:43:52 +08:00
show builder information before building
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
parent
ef6cba3353
commit
12076d2fb1
@ -75,6 +75,11 @@ actionsToolkit.run(
|
|||||||
await toolkit.buildx.printVersion();
|
await toolkit.buildx.printVersion();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
await core.group(`Builder info`, async () => {
|
||||||
|
const builder = await toolkit.builder.inspect(inputs.builder);
|
||||||
|
core.info(JSON.stringify(builder, null, 2));
|
||||||
|
});
|
||||||
|
|
||||||
const args: string[] = await context.getArgs(inputs, toolkit);
|
const args: string[] = await context.getArgs(inputs, toolkit);
|
||||||
core.debug(`context.getArgs: ${JSON.stringify(args)}`);
|
core.debug(`context.getArgs: ${JSON.stringify(args)}`);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user