CI: set runner label-to-image mapping in config.yml

Move ubuntu-latest → runner-base:py3.12-node22 mapping into
act-runner-config.yml so it is respected at runtime. The
GITEA_RUNNER_LABELS env var is only honoured on first registration
and was being ignored after the runner's .runner file was created.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Bryan Van Deusen
2026-03-10 11:02:20 -04:00
parent 995c35a53e
commit eb7d00e114
+4
View File
@@ -8,6 +8,10 @@ log:
runner:
capacity: 2 # max concurrent jobs
timeout: 30m
# Maps runs-on labels to Docker images for job containers.
# Change this (and delete /data/.runner) to switch the base image.
labels:
- "ubuntu-latest:docker://git.fabledsword.com/bvandeusen/runner-base:py3.12-node22"
cache:
enabled: true