# Gitea Runner 5.4.1 configuration for the single desktop runner. # Every key not listed here keeps the default printed by # `gitea-runner config generate` for that version. log: level: info runner: # The dind image starts in /data, a named volume. The registration file # holds the runner credential and must stay on that volume. file: .runner # One job at a time. The desktop also runs other build and Docker work. capacity: 1 # The only label. runs-on: ubuntu-latest runs in this image, pinned by tag # and index digest so a moved tag cannot change the job environment. labels: - "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-24.04-v26.11.03@sha256:b96ba465021b1a4c6a1c9e79220c2b9bfad0f29b09dbb528bbfb35411443a3a4" cache: enabled: true dir: /data/cache # The desktop root disk is shared. Bound the actions/cache store. size_limit: 5GB container: # Job containers stay unprivileged. Workflow options that could escape the # container (--privileged, --cap-add, --device, ...) are dropped. privileged: false # Workflows may not bind-mount runner volumes or host paths. valid_volumes: [] # Empty: jobs get the runner's own Docker daemon (the dind daemon inside # the runner container) through the runner's Docker proxy, so # Testcontainers works. The host Docker socket is never mounted. docker_host: "" # CI-only runner: remove the containers, networks and volumes a job # created through the proxy when the job ends. sweep: true force_pull: false