Compare commits

...

1 Commits

Author SHA1 Message Date
CrazyMax 9144ac0545 Enhanced console output 2020-12-24 18:03:30 +01:00
3 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -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
Generated Vendored
+3 -2
View File
@@ -535,11 +535,12 @@ function run() {
const buildxVersion = yield buildx.getVersion();
core.info(`📣 Buildx version: ${buildxVersion}`);
let inputs = yield context.getInputs();
core.startGroup(`🏃 Starting bake...`);
const args = yield context.getArgs(inputs, buildxVersion);
core.startGroup(`💡 Bake definition`);
yield exec.exec('docker', [...args, '--print']);
yield exec.exec('docker', args);
core.endGroup();
core.info(`🏃 Building...`);
yield exec.exec('docker', args);
}
catch (error) {
core.setFailed(error.message);
+5 -3
View File
@@ -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);
}