mirror of
https://github.com/CPunch/openpunk-ansible.git
synced 2025-11-12 02:10:03 +00:00
gitea: added act runner
This commit is contained in:
21
roles/gitea/templates/runner-docker-compose.yml
Normal file
21
roles/gitea/templates/runner-docker-compose.yml
Normal 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
|
||||
1
roles/gitea/templates/runner.env
Normal file
1
roles/gitea/templates/runner.env
Normal file
@@ -0,0 +1 @@
|
||||
GITEA_RUNNER_REGISTRATION_TOKEN="{{ giteaRunnerToken }}"
|
||||
Reference in New Issue
Block a user