From 420b4fa2d89c4d1691144b5fb83044894d268e3f Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Sun, 24 May 2026 12:47:41 -0400 Subject: [PATCH] workflows: use LAN registry endpoint for push (CF 100MB cap) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cloudflare in front of git.jpaul.io caps HTTP request bodies at 100 MB, which kills container blob pushes for our 6 GB image (Chroma layer alone is ~2 GB). Per the template gotcha doc: Push via LAN endpoint (192.168.0.2:1234, plain HTTP, in the Gitea host's insecure-registries list). Pull via public hostname (git.jpaul.io) — pull response bodies aren't capped. REGISTRY_PUSH: 192.168.0.2:1234 REGISTRY_PULL: git.jpaul.io (unchanged; used for the package-link API) This matches how hvm-docs / morpheus-docs / opsramp-docs / zerto-docs CI workflows push successfully on the same Gitea host. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitea/workflows/image-only.yml | 2 +- .gitea/workflows/refresh.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/image-only.yml b/.gitea/workflows/image-only.yml index 9ab49f4..1692f4e 100644 --- a/.gitea/workflows/image-only.yml +++ b/.gitea/workflows/image-only.yml @@ -21,7 +21,7 @@ on: - "sources.json" env: - REGISTRY_PUSH: git.jpaul.io + REGISTRY_PUSH: 192.168.0.2:1234 REGISTRY_PULL: git.jpaul.io IMAGE: ${{ github.repository_owner }}/${{ github.event.repository.name }} OLLAMA_URL: http://192.168.0.2:11434,http://192.168.0.2:11435,http://192.168.0.125:11434 diff --git a/.gitea/workflows/refresh.yml b/.gitea/workflows/refresh.yml index a564317..4ea4894 100644 --- a/.gitea/workflows/refresh.yml +++ b/.gitea/workflows/refresh.yml @@ -27,7 +27,7 @@ on: env: # Self-hosted Gitea registry on the same LAN as the runner. - REGISTRY_PUSH: git.jpaul.io + REGISTRY_PUSH: 192.168.0.2:1234 REGISTRY_PULL: git.jpaul.io IMAGE: ${{ github.repository_owner }}/${{ github.event.repository.name }}