diff --git a/dist/index.js b/dist/index.js index 6e1a5de..0591f8d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -62268,7 +62268,7 @@ function prepareDockerArgs(destinations) { function executeDockerBuild(dockerArgs) { const dockerArgsStr = dockerArgs.join(' '); - const dockerSubCmd = core.getBooleanInput('use_buildx') ? 'buildx' : 'build'; + const dockerSubCmd = core.getBooleanInput('use_buildx') ? 'buildx build' : 'build'; const proc = external_child_process_namespaceObject.spawnSync(`docker ${dockerSubCmd} ${dockerArgsStr}`, { shell: true, diff --git a/src/lib.js b/src/lib.js index c5ed0f7..f15f151 100644 --- a/src/lib.js +++ b/src/lib.js @@ -166,7 +166,7 @@ export function prepareDockerArgs(destinations) { export function executeDockerBuild(dockerArgs) { const dockerArgsStr = dockerArgs.join(' '); - const dockerSubCmd = core.getBooleanInput('use_buildx') ? 'buildx' : 'build'; + const dockerSubCmd = core.getBooleanInput('use_buildx') ? 'buildx build' : 'build'; const proc = child_process.spawnSync(`docker ${dockerSubCmd} ${dockerArgsStr}`, { shell: true,