diff options
author | 2021-10-10 13:23:02 +0300 | |
---|---|---|
committer | 2021-10-10 13:52:14 +0300 | |
commit | cf199b2b84773d568d7f548fdbf6ba12f63171c3 (patch) | |
tree | dafb5bead4edc5a772461316fc7dc9496fbdf500 /static-builds | |
parent | Adds Netlify Builds (diff) |
Fixes Caching On Docker Build
Reworks the docker build action to use buildx in all steps to make the
caching work. Reduces the wait time on the fetch action.
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to 'static-builds')
-rw-r--r-- | static-builds/netlify_build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static-builds/netlify_build.py b/static-builds/netlify_build.py index 6686e2ab..5699c3e4 100644 --- a/static-builds/netlify_build.py +++ b/static-builds/netlify_build.py @@ -64,9 +64,9 @@ def get_build_artifact() -> str: polls = 0 while polls <= 20: if run["status"] != "completed": - print("Action isn't completed, sleeping for 30 seconds.") + print("Action isn't ready, sleeping for 10 seconds.") polls += 1 - time.sleep(30) + time.sleep(10) elif run["conclusion"] != "success": print("Aborting build due to a failure in a previous CI step.") |