Skip to content

Write HTML. Render video. Built for agents.

ci: image builds pull through a mirror instead of rate-limited Docker Hub (#5377)

Miguel Ángel70c873a70e0b
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 864e27e356..e586ed3f8d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -220,6 +220,12 @@ jobs:
with:
lfs: true
- uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
+ with:
+ # Docker Hub rate-limits anonymous pulls from shared runners; pull through Google's mirror.
+ driver-opts: image=mirror.gcr.io/moby/buildkit:buildx-stable-1
+ buildkitd-config-inline: |
+ [registry."docker.io"]
+ mirrors = ["mirror.gcr.io"]
- name: Build BeginFrame contract image
# A hung bun install (Dockerfile.test, run 35468046055) would
# otherwise eat the whole job timeout instead of failing at this step.
diff --git a/.github/workflows/fast-video-validation.yml b/.github/workflows/fast-video-validation.yml
index 09ca7c46d5..f1ada4bd15 100644
--- a/.github/workflows/fast-video-validation.yml
+++ b/.github/workflows/fast-video-validation.yml
@@ -32,6 +32,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
+ with:
+ # Docker Hub rate-limits anonymous pulls from shared runners; pull through Google's mirror.
+ driver-opts: image=mirror.gcr.io/moby/buildkit:buildx-stable-1
+ buildkitd-config-inline: |
+ [registry."docker.io"]
+ mirrors = ["mirror.gcr.io"]
- name: Build test Docker image (cached)
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml
index 9f8832bcc3..8374cee9e5 100644
--- a/.github/workflows/regression.yml
+++ b/.github/workflows/regression.yml
@@ -71,6 +71,7 @@ jobs:
- "packages/producer/**"
- "packages/engine/**"
- "Dockerfile*"
+ - ".github/workflows/regression.yml"
# Bin-pack the shard matrix from recorded per-fixture timings rather than
# a hand-written list. Fails if any fixture on disk is neither scheduled
# nor explicitly excluded, so a new fixture cannot silently never run.
@@ -125,6 +126,12 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
+ with:
+ # Docker Hub rate-limits anonymous pulls from shared runners; pull through Google's mirror.
+ driver-opts: image=mirror.gcr.io/moby/buildkit:buildx-stable-1
+ buildkitd-config-inline: |
+ [registry."docker.io"]
+ mirrors = ["mirror.gcr.io"]
- name: Build test Docker image (cached)
# Normal duration is ~3 min; a bun install that errors and hangs