30 lines
629 B
YAML
30 lines
629 B
YAML
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
|
|
force_pull: false
|
|
|
|
host:
|
|
workdir_parent:
|