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 force_pull: false host: # Must be the same path mounted into dind as /workspace. workdir_parent: /workspace