mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-13 21:33:58 +00:00
Merge pull request #1128 from crazy-max/builder-info
show builder information before building
This commit is contained in:
commit
ca052bb54a
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 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)}`);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user