mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-06 21:49:33 +02:00
src: stop spurious warnings on buildkit shutdown
This commit is contained in:
parent
31dd0ccbdd
commit
4723a2a346
4 changed files with 13 additions and 13 deletions
|
@ -138,9 +138,9 @@ async function startBuildkitd(parallelism: number, device: string): Promise<stri
|
|||
|
||||
while (Date.now() - startTime < timeout) {
|
||||
try {
|
||||
const {stdout} = await execAsync('pgrep -f buildkitd');
|
||||
const {stdout} = await execAsync('pgrep buildkitd');
|
||||
if (stdout.trim()) {
|
||||
core.debug('buildkitd daemon started successfully');
|
||||
core.info(`buildkitd daemon started successfully with PID ${stdout.trim()}`);
|
||||
return addr;
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue