# ----------------------------------------------------------------------------- # 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: - "**"