initial commit
This commit is contained in:
3
.env.template
Normal file
3
.env.template
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
INSTANCE_URL="https://git.myserver.com"
|
||||||
|
RUNNER_REGISTRATION_TOKEN="myregistrationtoken"
|
||||||
|
RUNNER_NAME="myserver-docker"
|
||||||
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.env
|
||||||
|
data/
|
||||||
7
README.md
Normal file
7
README.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# gitea runner (act-runner)
|
||||||
|
|
||||||
|
## setup
|
||||||
|
|
||||||
|
- in gitea -> administration -> actions -> runners -> "create new runner" -> get registration token
|
||||||
|
- copy and adjust .env from .env.template
|
||||||
|
- starting up should automatically register as new runner
|
||||||
13
compose.yaml
Normal file
13
compose.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
services:
|
||||||
|
runner:
|
||||||
|
image: gitea/act_runner:nightly
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
# CONFIG_FILE: /config.yaml
|
||||||
|
GITEA_INSTANCE_URL: ${INSTANCE_URL}
|
||||||
|
GITEA_RUNNER_REGISTRATION_TOKEN: ${RUNNER_REGISTRATION_TOKEN}
|
||||||
|
GITEA_RUNNER_NAME: ${RUNNER_NAME}
|
||||||
|
# GITEA_RUNNER_LABELS: ${RUNNER_LABELS}
|
||||||
|
volumes:
|
||||||
|
- ./data:/data
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
Reference in New Issue
Block a user