show builder information before building

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
pull/1128/head
CrazyMax 2024-05-29 12:52:50 +02:00
parent ef6cba3353
commit 12076d2fb1
No known key found for this signature in database
GPG Key ID: ADE44D8C9D44FBE4
1 changed files with 5 additions and 0 deletions

View File

@ -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)}`);