docs: note runner labels must be set in config.yaml

This commit is contained in:
Hermes Agent
2026-05-07 23:17:26 +00:00
parent 4fcf96342d
commit 8cbc66227f
+11 -1
View File
@@ -72,7 +72,6 @@ services:
GITEA_INSTANCE_URL: "https://g.o4kosebezablokiruyte.ru" GITEA_INSTANCE_URL: "https://g.o4kosebezablokiruyte.ru"
GITEA_RUNNER_REGISTRATION_TOKEN: "PUT_TOKEN_HERE" GITEA_RUNNER_REGISTRATION_TOKEN: "PUT_TOKEN_HERE"
GITEA_RUNNER_NAME: "nl-dedicated-static-builder" GITEA_RUNNER_NAME: "nl-dedicated-static-builder"
GITEA_RUNNER_LABELS: "alpine-latest:docker://node:20-alpine,ubuntu-latest:docker://node:20-bookworm"
volumes: volumes:
- ./config.yaml:/config.yaml - ./config.yaml:/config.yaml
- ./data:/data - ./data:/data
@@ -87,6 +86,17 @@ docker run --rm --entrypoint="" docker.io/gitea/act_runner:0.2.11 \
mkdir -p data mkdir -p data
``` ```
Then edit `config.yaml` and replace the default `runner.labels` block with:
```yaml
runner:
labels:
- "alpine-latest:docker://node:20-alpine"
- "ubuntu-latest:docker://node:20-bookworm"
```
This matters because when `config.yaml` already contains `runner.labels`, the container startup env `GITEA_RUNNER_LABELS` is ignored.
Then start it: Then start it:
```bash ```bash