Document reachable cache endpoint for host-mode CI
Build Linux and Android / build (push) Successful in 1m38s

This commit is contained in:
feedc0de committed 2026-11-23 14:49:13 +01:00
1 parent df3fc211b9
commit a42aa7bce8
2 files changed
+9

No files matched your search

+2
View File
@@ -30,6 +30,8 @@ jobs:
build:
# Register a trusted host-mode runner with this label. It only needs
# Podman, Bash, Git, and Node.js for the actions used below.
# Its cache.host must be reachable from both host jobs and Podman jobs;
# host.containers.internal only resolves inside the latter.
runs-on: linux_amd64
timeout-minutes: 180
+7
View File
@@ -59,6 +59,13 @@ The runner host needs Podman, Bash, Git, and Node.js. Keep this host-mode runner
restricted to repositories you trust: workflows execute commands as the runner
user and can access everything that user can access.
Set `cache.host` in the runner configuration to an address reachable from both
the host and Podman containers, then restart the runner. This endpoint serves
both `actions/cache` and `actions/upload-artifact`. Do not use
`host.containers.internal` for a host-mode job: that name resolves inside
Podman containers but not on the host, causing `ENOTFOUND` during cache restore
and artifact upload. On the current runner, the stable address is `10.12.4.170`.
For example, after downloading `act_runner`, obtain a repository runner token
from **Settings > Actions > Runners**, then run: