Created runner for gitea

This commit is contained in:
Luke Else 2024-03-14 15:16:29 +00:00
parent d453e3213f
commit 7792328885
2 changed files with 14 additions and 6 deletions

6
.gitignore vendored
View File

@ -1,6 +0,0 @@
# Ignore all files
**
# Allow docker-compose.yml
!docker-compose.yml
!/*

View File

@ -0,0 +1,14 @@
version: "3.8"
services:
runner:
image: gitea/act_runner:latest
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "git.luke-else.co.uk"
GITEA_RUNNER_REGISTRATION_TOKEN: "INSERT REGISTRATION TOKEN"
GITEA_RUNNER_NAME: "Action Runner"
GITEA_RUNNER_LABELS: ""
volumes:
- ./config.yaml:/config.yaml
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock