fix: stream logs for heroku bp
This commit is contained in:
		| @@ -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 }) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Andras Bacsai
					Andras Bacsai