Skip to content

Commit

Permalink
show builder information before building
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
  • Loading branch information
crazy-max committed May 29, 2024
1 parent ef6cba3 commit 12076d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)}`);

Expand Down

0 comments on commit 12076d2

Please sign in to comment.