Skip to content

Commit f8f0d5a

Browse files
committedMar 12, 2025·
fix(builder): Increase timeout from default (1) to 5 mins
When no. of parallel builds are high, push to registry tends to timeout. This seems to be handled anyway in press by triggering subsequent Run Remote Builder job which will be faster cuz of cache magic. Might save a minute anyway
1 parent ad8d0f0 commit f8f0d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎agent/builder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def _publish_docker_build_output(self, result):
138138
@step("Push Docker Image")
139139
def _push_docker_image(self):
140140
environment = os.environ.copy()
141-
client = docker.from_env(environment=environment)
141+
client = docker.from_env(environment=environment, timeout=5 * 60)
142142
auth_config = {
143143
"username": self.registry["username"],
144144
"password": self.registry["password"],

0 commit comments

Comments
 (0)
Please sign in to comment.