Skip to content

Commit 0f15fd0

Browse files
Setup registry mirror in docker:
The ensemble build needs the docker daemon to use a registry mirror to avoid getting rate limited. Signed-off-by: Jacob Weinstock <[email protected]>
1 parent fb4c03b commit 0f15fd0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/build-all-matrix.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,14 @@ jobs:
166166
- name: Checkout build repo
167167
uses: actions/checkout@v5
168168

169+
- name: Set up Docker registry mirror # this is needed because linuxkit pulls images from dockerhub and we want to use a registry mirror to avoid rate limiting
170+
uses: docker/setup-docker-action@v4
171+
with:
172+
daemon-config: |
173+
{
174+
"registry-mirrors": ["https://mirror.gcr.io"]
175+
}
176+
169177
- name: Set up Docker Buildx # nb: no need for qemu here, kernels are cross-compiled, instead of the compilation being emulated
170178
uses: docker/setup-buildx-action@v3
171179
with:

0 commit comments

Comments
 (0)