gitea act_runner

This commit is contained in:
eneller
2025-10-04 19:33:53 +02:00
parent 5fe22ee906
commit ec933c716d
2 changed files with 10 additions and 10 deletions

View File

@@ -0,0 +1,4 @@
#CONFIG_FILE=/config.yaml
GITEA_INSTANCE_URL="git.example.org"
GITEA_RUNNER_REGISTRATION_TOKEN=abc
GITEA_RUNNER_NAME=runner1

View File

@@ -2,13 +2,9 @@
services:
runner:
image: gitea/act_runner:latest
environment:
CONFIG_FILE: /config.yaml
GITEA_INSTANCE_URL: "${INSTANCE_URL}"
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
GITEA_RUNNER_NAME: "${RUNNER_NAME}"
GITEA_RUNNER_LABELS: "${RUNNER_LABELS}"
volumes:
- ./config.yaml:/config.yaml
- ./data:/data
- /var/run/docker.sock:/var/run/docker.sock # needed to create a separate docker container for each job
env_file:
- .env
#volumes:
#- ./config.yaml:/config.yaml
#- ./data:/data
#- /var/run/docker.sock:/var/run/docker.sock # needed to create a separate docker container for each job