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: services:
runner: runner:
image: gitea/act_runner:latest image: gitea/act_runner:latest
environment: env_file:
CONFIG_FILE: /config.yaml - .env
GITEA_INSTANCE_URL: "${INSTANCE_URL}" #volumes:
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}" #- ./config.yaml:/config.yaml
GITEA_RUNNER_NAME: "${RUNNER_NAME}" #- ./data:/data
GITEA_RUNNER_LABELS: "${RUNNER_LABELS}" #- /var/run/docker.sock:/var/run/docker.sock # needed to create a separate docker container for each job
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