Files
container_builder/k3s/20-runner-config.yaml
T

39 lines
1.3 KiB
YAML
Raw Normal View History

2026-08-27 10:46:36 +02:00
# -----------------------------------------------------------------------------
# act_runner configuration, mounted into the runner container as config.yaml.
# Docs: https://docs.gitea.com/usage/actions/act-runner
# -----------------------------------------------------------------------------
apiVersion: v1
kind: ConfigMap
metadata:
name: act-runner-config
namespace: gitea-runner
data:
config.yaml: |
log:
level: info
runner:
# Max parallel jobs this runner will execute.
capacity: 2
timeout: 3h
# Labels advertise which job environments this runner provides.
# The workflow selects one with `runs-on:`.
labels:
- "ubuntu-latest:docker://catthehacker/ubuntu:act-22.04"
- "ubuntu-22.04:docker://catthehacker/ubuntu:act-22.04"
- "dind:docker://catthehacker/ubuntu:act-22.04"
cache:
enabled: true
container:
# Talk to the DinD sidecar over TCP (TLS) instead of a mounted socket.
docker_host: "tcp://localhost:2376"
# Job containers join the default docker network created by dockerd.
network: "host"
# Keep pulled images between jobs to speed builds up.
force_pull: false
# Give job containers access to the DinD TLS certs.
valid_volumes:
- "**"