Fix runner: use CONFIG_FILE env var instead of command override
All checks were successful
CI / changes (push) Successful in 14s
CI / lint-and-test (push) Successful in 37s
CI / build (push) Has been skipped

The command override bypasses the entrypoint that handles
registration. Use CONFIG_FILE env var which the entrypoint
respects, keeping the registration flow intact.
This commit is contained in:
Julia McGhee
2026-03-21 17:14:30 +00:00
parent ab52874970
commit e57f458058

View File

@@ -18,8 +18,9 @@ spec:
containers:
- name: runner
image: gitea/act_runner:latest
command: ["act_runner", "daemon", "--config", "/config/config.yaml"]
env:
- name: CONFIG_FILE
value: /config/config.yaml
- name: GITEA_INSTANCE_URL
value: http://gitea-helm-http.platform.svc:3000
- name: GITEA_RUNNER_REGISTRATION_TOKEN