feat(service): gitea runner (#9961)

This commit is contained in:
Andras Bacsai 2026-05-11 21:47:19 +02:00 committed by GitHub
commit 27b44fce4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,26 @@
# documentation: https://github.com/go-gitea/gitea
# category: devtools
# slogan: Gitea Actions runner for docker
# tags: gitea,actions,runner,docker
# logo: svgs/gitea.svg
services:
runner:
image: 'docker.io/gitea/runner:1.0.0'
environment:
- 'GITEA_INSTANCE_URL=${GITEA_INSTANCE_URL}'
- 'GITEA_RUNNER_REGISTRATION_TOKEN=${GITEA_RUNNER_REGISTRATION_TOKEN}'
- 'GITEA_RUNNER_NAME=${GITEA_RUNNER_NAME:-gitea-runner}'
- 'GITEA_RUNNER_LABELS=${GITEA_RUNNER_LABELS:-ubuntu-latest:docker://node:22}'
- 'GITEA_TOKEN=${GITEA_TOKEN}'
working_dir: /data
volumes:
- 'runner-data:/data'
- '/var/run/docker.sock:/var/run/docker.sock'
healthcheck:
test:
- CMD-SHELL
- "ps aux | grep '[R]unner' > /dev/null || exit 1"
interval: 5s
timeout: 10s
retries: 15