Merge pull request #211 from crazy-max/builder-info
Some checks failed
ci-subaction / list-targets-group (push) Has been cancelled
ci-subaction / list-targets-group-matrix (push) Has been cancelled
ci / bake (default) (push) Has been cancelled
ci / bake (release) (push) Has been cancelled
ci / error-msg (push) Has been cancelled
ci / error-check (push) Has been cancelled
ci / standalone (push) Has been cancelled
ci / source (push) Has been cancelled
ci / provenance () (push) Has been cancelled
ci / provenance (builder-id=foo) (push) Has been cancelled
ci / provenance (false) (push) Has been cancelled
ci / provenance (mode=max) (push) Has been cancelled
ci / provenance (true) (push) Has been cancelled
ci / sbom (/tmp/bake-build, binary) (push) Has been cancelled
ci / sbom (type=image,name=localhost:5000/name/app:latest,push=true, image) (push) Has been cancelled
ci / set (push) Has been cancelled
ci / group (push) Has been cancelled
ci / docker-config-malformed (push) Has been cancelled
ci / proxy-docker-config (push) Has been cancelled
ci / proxy-buildkitd (push) Has been cancelled
ci / git-context (push) Has been cancelled
ci / git-context-and-local (push) Has been cancelled
ci / multi-output (push) Has been cancelled
ci / load-and-push (push) Has been cancelled

show builder information before building
This commit is contained in:
CrazyMax
2024-05-29 14:20:31 +02:00
committed by GitHub
3 changed files with 7 additions and 2 deletions

2
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -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(