diff --git a/apps/base/forgejo/runner-arm64.yaml b/apps/base/forgejo/runner-arm64.yaml index 9aec81c..74d2e5a 100644 --- a/apps/base/forgejo/runner-arm64.yaml +++ b/apps/base/forgejo/runner-arm64.yaml @@ -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 diff --git a/apps/base/forgejo/runner-deploy-arm64.yaml b/apps/base/forgejo/runner-deploy-arm64.yaml index dd70ba7..3d4bc4f 100644 --- a/apps/base/forgejo/runner-deploy-arm64.yaml +++ b/apps/base/forgejo/runner-deploy-arm64.yaml @@ -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