CICD-202 · Configure runner labels
Encyclopedia · Runner administration and execution infrastructure · All snippets
Previous · CICD-201 · Next · CICD-203
1. Where it fits
- Placement .runner/config.yaml.
- Prerequisites lab host, trusted repositories, installed act_runner or GitHub runner when named.
- Platforms gitea-actions.
2. Copy the snippet
yaml
runner:
labels:
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "lab-shell:host"3. How it works
The runner process loads these settings before it accepts jobs. The registered label still must match the workflow's runs-on value.
4. Verify the result
Match the label in runs-on and restart the daemon. Host mode is reserved for trusted workflows.
Validation version-dependent (YAML parse). Status definitions.