Skip to content

Commit

Permalink
Enhanced console output
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Dec 24, 2020
1 parent 17d88ab commit 9144ac0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ updates:

This action is only available for Linux [virtual environments](https://help.github.com/en/articles/virtual-environments-for-github-actions#supported-virtual-environments-and-hardware-resources).

# Contributing
## Contributing

Want to contribute? Awesome! The most basic way to show your support is to star :star2: the project,
or to raise issues :speech_balloon:. If you want to open a pull request, please read the
Expand Down
5 changes: 3 additions & 2 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ async function run(): Promise<void> {
core.info(`📣 Buildx version: ${buildxVersion}`);

let inputs: context.Inputs = await context.getInputs();

core.startGroup(`🏃 Starting bake...`);
const args: string[] = await context.getArgs(inputs, buildxVersion);

core.startGroup(`💡 Bake definition`);
await exec.exec('docker', [...args, '--print']);
await exec.exec('docker', args);
core.endGroup();

core.info(`🏃 Building...`);
await exec.exec('docker', args);
} catch (error) {
core.setFailed(error.message);
}
Expand Down

0 comments on commit 9144ac0

Please sign in to comment.