mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-06 21:49:33 +02:00
Merge pull request #88 from useblacksmith/bump-timeout
src: bump timeout from 30s to 45s
This commit is contained in:
commit
7a4d18f15a
3 changed files with 3 additions and 3 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -192,7 +192,7 @@ export async function startAndConfigureBuildkitd(parallelism: number): Promise<s
|
||||||
|
|
||||||
// Change permissions on the buildkitd socket to allow non-root access
|
// Change permissions on the buildkitd socket to allow non-root access
|
||||||
const startTime = Date.now();
|
const startTime = Date.now();
|
||||||
const timeout = 30000; // 30 seconds in milliseconds
|
const timeout = 45000; // 45 seconds in milliseconds
|
||||||
|
|
||||||
while (Date.now() - startTime < timeout) {
|
while (Date.now() - startTime < timeout) {
|
||||||
if (fs.existsSync('/run/buildkit/buildkitd.sock')) {
|
if (fs.existsSync('/run/buildkit/buildkitd.sock')) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue