Initial commit: Gitea CI jobs in gVisor with sandboxed Docker
This commit is contained in:
commit
6c14f5d76d
17 files changed
+1084
No files matched your search
@@ -0,0 +1,33 @@
|
||||
log:
|
||||
level: info
|
||||
|
||||
runner:
|
||||
file: .runner
|
||||
# The runner is intentionally single-slot. This avoids jobs racing for the
|
||||
# same nested Docker daemon and its workspace volumes.
|
||||
capacity: 1
|
||||
timeout: 3h
|
||||
labels:
|
||||
- "ubuntu-latest:docker://node:22-bookworm"
|
||||
- "gvisor:docker://alpine:3.20"
|
||||
- "docker:docker://docker:28-cli"
|
||||
envs:
|
||||
# Jobs talk only to the sandboxed Docker daemon, never the runner's own
|
||||
# privileged daemon.
|
||||
DOCKER_HOST: tcp://127.0.0.1:2375
|
||||
|
||||
cache:
|
||||
enabled: true
|
||||
|
||||
container:
|
||||
# Share the runner container's network namespace. This lets job containers
|
||||
# resolve the Compose service name "gitea" and is useful for actions/checkout.
|
||||
network: host
|
||||
privileged: false
|
||||
# "-" means: use the local Docker daemon for runner internals, but never
|
||||
# expose the runner's privileged socket to jobs.
|
||||
docker_host: "-"
|
||||
force_pull: false
|
||||
|
||||
host:
|
||||
workdir_parent:
|
||||
Reference in new issue
Block a user