Update common.ts
This commit is contained in:
parent
1122b8a2f7
commit
2c2663c8a4
1 changed files with 2 additions and 4 deletions
|
|
@ -651,13 +651,11 @@ export async function executeCommand({
|
||||||
} else {
|
} else {
|
||||||
if (shell) {
|
if (shell) {
|
||||||
return await execaCommand(command, {
|
return await execaCommand(command, {
|
||||||
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine },
|
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine }
|
||||||
shell: true
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return await execa(dockerCommand, dockerArgs, {
|
return await execa(dockerCommand, dockerArgs, {
|
||||||
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine },
|
env: { DOCKER_BUILDKIT: '1', DOCKER_HOST: engine }
|
||||||
shell: false
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue