fix(gitea): bypass run.sh entrypoint for the cache-server container

run.sh (act_runner's default image entrypoint) ignores any command args
entirely - it always registers then execs `act_runner daemon`
regardless, with no cache-server mode. The cache-server container was
silently running as a second runner daemon instead. Override the
entrypoint directly to tini + act_runner, skipping run.sh.
This commit is contained in:
2026-08-24 11:30:22 +02:00
parent 0d85ef73b9
commit e1a540f110
+4
View File
@@ -91,6 +91,10 @@ services:
runner-cache-server:
image: gitea/act_runner:latest
container_name: gitea_runner_cache
# The image's default entrypoint (run.sh) ignores any command args and
# always registers-then-execs `act_runner daemon` regardless - it has no
# cache-server mode. Bypass it entirely and invoke act_runner directly.
entrypoint: ["/sbin/tini", "--"]
command: ["act_runner", "cache-server", "--config", "/data/config.yaml", "--host", "0.0.0.0", "--port", "8088", "--dir", "/data/cache"]
environment:
TZ: ${TIMEZONE:-Europe/Amsterdam}