From e1a540f1107114f22b61b8af47e9a2efe786242e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Mon, 24 Aug 2026 11:30:22 +0200 Subject: [PATCH] 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. --- gitea/compose.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gitea/compose.yml b/gitea/compose.yml index 1861cb6..026cd1d 100644 --- a/gitea/compose.yml +++ b/gitea/compose.yml @@ -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}