This commit is contained in:
2025-04-15 00:24:21 +08:00
parent b92686ce29
commit 0f3bdb249e
9 changed files with 156 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
version: "3.8"
services:
runner:
image: m.daocloud.io/docker.io/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