From 12076d2fb15a83ad948fcf164db081e9de7064fc Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Wed, 29 May 2024 12:52:50 +0200 Subject: [PATCH] show builder information before building Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- src/main.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.ts b/src/main.ts index 3e54589..55fb6b2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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)}`);