From 62de03849717950bda8a2f31d24729a33d7d72bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hartmut=20N=C3=B6renberg?= Date: Mon, 13 Apr 2026 07:44:21 +0200 Subject: [PATCH] ci(release): hardcode external Gitea registry host 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. --- .github/workflows/release-image.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-image.yml b/.github/workflows/release-image.yml index 81b329e..2c7f135 100644 --- a/.github/workflows/release-image.yml +++ b/.github/workflows/release-image.yml @@ -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