mirror of
https://github.com/docker/setup-buildx-action.git
synced 2025-06-13 06:47:13 +02:00
Override the configured builder instance
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
6
dist/index.js
generated
vendored
6
dist/index.js
generated
vendored
@ -557,7 +557,11 @@ function run() {
|
||||
yield exec.exec('docker', createArgs);
|
||||
core.endGroup();
|
||||
core.startGroup(`🏃 Booting builder`);
|
||||
yield exec.exec('docker', ['buildx', 'inspect', '--bootstrap']);
|
||||
let bootstrapArgs = ['buildx', 'inspect', '--bootstrap'];
|
||||
if (semver.satisfies(buildxVersion, '>=0.4.0')) {
|
||||
bootstrapArgs.push('--builder', builderName);
|
||||
}
|
||||
yield exec.exec('docker', bootstrapArgs);
|
||||
core.endGroup();
|
||||
}
|
||||
if (inputs.install) {
|
||||
|
Reference in New Issue
Block a user