Skip to content

Commit

Permalink
Merge pull request #211 from crazy-max/builder-info
Browse files Browse the repository at this point in the history
show builder information before building
  • Loading branch information
crazy-max committed May 29, 2024
2 parents 1cc3926 + 702752d commit a99697d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

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

let definition: BakeDefinition | undefined;
await core.group(`Parsing raw definition`, async () => {
definition = await toolkit.buildxBake.getDefinition(
Expand Down

0 comments on commit a99697d

Please sign in to comment.