gitea act_runner
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user