Print bake def (#4)

This commit is contained in:
CrazyMax
2020-12-23 20:15:23 +01:00
committed by GitHub
parent 301b8aecd8
commit 7cf3c8378f
4 changed files with 12 additions and 10 deletions

4
dist/index.js generated vendored
View File

@@ -535,9 +535,11 @@ function run() {
const buildxVersion = yield buildx.getVersion();
core.info(`📣 Buildx version: ${buildxVersion}`);
let inputs = yield context.getInputs();
core.info(`🏃 Starting bake...`);
core.startGroup(`🏃 Starting bake...`);
const args = yield context.getArgs(inputs, buildxVersion);
yield exec.exec('docker', [...args, '--print']);
yield exec.exec('docker', args);
core.endGroup();
}
catch (error) {
core.setFailed(error.message);