log: level: info runner: file: .runner capacity: 1 timeout: 3h labels: - "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest" - "gvisor:docker://alpine:3.20" - "docker:docker://docker:28-cli" envs: # Jobs run with host networking inside the gVisor dind sandbox, where # dockerd listens on loopback. DOCKER_HOST: tcp://127.0.0.1:2375 cache: enabled: true container: # The dind service is on the "ci" network. docker_host: tcp://dind:2375 # Jobs share dind's sandbox network namespace. network: host privileged: false # Use a host path for the workspace instead of an anonymous Docker volume, # so Docker bind mounts from inside the job also resolve in dind. bind_workdir: true # Parent path on the runner; it is the shared ci-workspace volume mounted at # /workspace in both runner and dind. Leading '/' is added automatically. workdir_parent: workspace force_pull: false host: workdir_parent: