mirror of
https://gitea.com/docker/build-push-action.git
synced 2024-11-25 10:59:38 +01:00
Merge pull request #1128 from crazy-max/builder-info
show builder information before building
This commit is contained in:
commit
ca052bb54a
3 changed files with 7 additions and 2 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -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