forgejo runners(arm64): dind registries need --insecure-registry for the Pi's WG address

First post-cutover deploy-site run (task 1732) built the image and then died
pushing it: docker only treats 127.0.0.0/8 as insecure by default, so
'Get "https://10.10.0.1:5000/v2/": http: server gave HTTP response to HTTPS
client'. Flag the daemon, not the job image, on both arm64 runners so no
workflow needs to know.
This commit is contained in:
hermes 2026-10-27 02:57:48 -04:00 • committed by Lance Walters
commit 0a97d9305f
2 changed files with 12 additions and 2 deletions

View file

@ -46,7 +46,12 @@ spec:
- sh
- -c
- |
dockerd --host=unix:///var/run/docker.sock --tls=false --mtu=1420 &
# --insecure-registry: the Pi registry is plain HTTP on the WG
# hub IP. Docker only treats 127.0.0.0/8 as insecure by default,
# so without this `docker push 10.10.0.1:5000/...` from a job
# fails with "server gave HTTP response to HTTPS client".
dockerd --host=unix:///var/run/docker.sock --tls=false --mtu=1420 \
--insecure-registry=10.10.0.1:5000 &
pid=$!
i=0
while [ "$i" -lt 30 ]; do

View file

@ -81,7 +81,12 @@ spec:
- sh
- -c
- |
dockerd --host=unix:///var/run/docker.sock --tls=false --mtu=1420 &
# --insecure-registry: the Pi registry is plain HTTP on the WG
# hub IP. Docker only treats 127.0.0.0/8 as insecure by default,
# so without this `docker push 10.10.0.1:5000/...` from a job
# fails with "server gave HTTP response to HTTPS client".
dockerd --host=unix:///var/run/docker.sock --tls=false --mtu=1420 \
--insecure-registry=10.10.0.1:5000 &
pid=$!
i=0
while [ "$i" -lt 30 ]; do