mirror of
https://github.com/docker/bake-action.git
synced 2026-01-22 12:22:21 +01:00
Print bake def (#4)
This commit is contained in:
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user