ci(release): hardcode external Gitea registry host
CI / Architecture Guardrails (push) Successful in 3m32s
CI / Lint (push) Successful in 4m27s
CI / Typecheck (push) Successful in 4m38s
CI / Assistant Split Regression (push) Successful in 5m19s
CI / Unit Tests (push) Successful in 7m59s
CI / Build (push) Successful in 7m13s
CI / E2E Tests (push) Successful in 6m45s
CI / Fresh-Linux Docker Deploy (push) Successful in 6m53s
CI / Release Images (push) Failing after 37s

GITHUB_SERVER_URL inside act_runner resolves to gitea:3000 (internal
docker hostname) which is not reachable from the build job container.
Use the externally-resolvable hostname instead.
This commit is contained in:
2026-04-13 07:44:21 +02:00
parent a1f7abc850
commit 62de038497
+4 -5
View File
@@ -36,12 +36,11 @@ jobs:
- id: registry
name: Resolve Gitea registry host
# GITHUB_SERVER_URL is the Gitea base URL (e.g. https://gitea.hartmut-noerenberg.com).
# Strip the scheme to get the container-registry host.
# GITHUB_SERVER_URL inside act_runner resolves to the *internal* Gitea
# hostname (gitea:3000) which is not reachable from the job container.
# Hardcode the externally-resolvable host instead.
run: |
host="${GITHUB_SERVER_URL#https://}"
host="${host#http://}"
echo "host=${host}" >> "$GITHUB_OUTPUT"
echo "host=gitea.hartmut-noerenberg.com" >> "$GITHUB_OUTPUT"
- name: Login to Gitea container registry
# GITHUB_TOKEN is auto-provisioned by Gitea Actions for the running