gitea: added act runner

This commit is contained in:
2024-11-22 20:10:41 -06:00
parent c9cd0c3c12
commit 1acd6411cb
7 changed files with 152 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
services:
runner:
image: gitea/act_runner:latest
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "https://git.{{ domain }}"
env_file:
- ./runner.env
volumes:
- ./config.yaml:/config.yaml
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 18088:18088
networks:
- runner-cache
networks:
runner-cache:
name: runner-cache
driver: bridge

View File

@@ -0,0 +1 @@
GITEA_RUNNER_REGISTRATION_TOKEN="{{ giteaRunnerToken }}"