mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-06 00:35:53 -05: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
1 changed files with 5 additions and 0 deletions
|
@ -75,6 +75,11 @@ actionsToolkit.run(
|
|||
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);
|
||||
core.debug(`context.getArgs: ${JSON.stringify(args)}`);
|
||||
|
||||
|
|
Loading…
Reference in a new issue