Skip to content

Commit f9548ad

Browse files
wu-shengclaude
andcommitted
Retry the CI Build job's docker build on transient Docker Hub timeouts
The Build job's `make docker` step boots buildkit by pulling moby/buildkit from Docker Hub, which intermittently times out on shared runners ("Client.Timeout exceeded while awaiting headers"). Retry once, mirroring the existing `make docker.push || make docker.push` pattern in publish-docker.yaml. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 4a0a3cb commit f9548ad

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/CI.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ jobs:
8484
run: make build -j3
8585

8686
- name: Build Docker images
87-
run: make docker
87+
# Retry once: booting buildkit pulls moby/buildkit from Docker Hub, which
88+
# intermittently times out on shared runners. Mirrors publish-docker.yaml's
89+
# `make docker.push || make docker.push`.
90+
run: make docker || make docker
8891

8992

9093
command-tests:

0 commit comments

Comments
 (0)