fix: stream logs for heroku bp
This commit is contained in:
parent
49c61b5992
commit
4cd7af7a74
@ -585,7 +585,7 @@ export async function executeDockerCmd({ debug, buildId, applicationId, dockerId
|
|||||||
command = command.replace(/docker compose/gi, 'docker-compose');
|
command = command.replace(/docker compose/gi, 'docker-compose');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (command.startsWith(`docker build --progress plain`)) {
|
if (command.startsWith(`docker build --progress plain`) || command.startsWith(`pack build`)) {
|
||||||
return await asyncExecShellStream({ debug, buildId, applicationId, command, engine });
|
return await asyncExecShellStream({ debug, buildId, applicationId, command, engine });
|
||||||
}
|
}
|
||||||
return await execaCommand(command, { env: { DOCKER_BUILDKIT: "1", DOCKER_HOST: engine }, shell: true })
|
return await execaCommand(command, { env: { DOCKER_BUILDKIT: "1", DOCKER_HOST: engine }, shell: true })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user