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
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:
@@ -36,12 +36,11 @@ jobs:
|
|||||||
|
|
||||||
- id: registry
|
- id: registry
|
||||||
name: Resolve Gitea registry host
|
name: Resolve Gitea registry host
|
||||||
# GITHUB_SERVER_URL is the Gitea base URL (e.g. https://gitea.hartmut-noerenberg.com).
|
# GITHUB_SERVER_URL inside act_runner resolves to the *internal* Gitea
|
||||||
# Strip the scheme to get the container-registry host.
|
# hostname (gitea:3000) which is not reachable from the job container.
|
||||||
|
# Hardcode the externally-resolvable host instead.
|
||||||
run: |
|
run: |
|
||||||
host="${GITHUB_SERVER_URL#https://}"
|
echo "host=gitea.hartmut-noerenberg.com" >> "$GITHUB_OUTPUT"
|
||||||
host="${host#http://}"
|
|
||||||
echo "host=${host}" >> "$GITHUB_OUTPUT"
|
|
||||||
|
|
||||||
- name: Login to Gitea container registry
|
- name: Login to Gitea container registry
|
||||||
# GITHUB_TOKEN is auto-provisioned by Gitea Actions for the running
|
# GITHUB_TOKEN is auto-provisioned by Gitea Actions for the running
|
||||||
|
|||||||
Reference in New Issue
Block a user