From 0a97d9305fd8adf07efa567b994c0754756142f3 Mon Sep 17 00:00:00 2001 From: hermes Date: Tue, 27 Oct 2026 02:57:48 -0400 Subject: [PATCH] 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. --- apps/base/forgejo/runner-arm64.yaml | 7 ++++++- apps/base/forgejo/runner-deploy-arm64.yaml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) 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