From 77923288859bcc1cbfc3baef433a27323d060f3e Mon Sep 17 00:00:00 2001 From: Luke Else Date: Thu, 14 Mar 2024 15:16:29 +0000 Subject: [PATCH] Created runner for gitea --- .gitignore | 6 ------ Development/Runners/docker-compose.yml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 Development/Runners/docker-compose.yml diff --git a/.gitignore b/.gitignore index 709e503..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +0,0 @@ -# Ignore all files -** - -# Allow docker-compose.yml -!docker-compose.yml -!/* \ No newline at end of file diff --git a/Development/Runners/docker-compose.yml b/Development/Runners/docker-compose.yml new file mode 100644 index 0000000..2fc05ba --- /dev/null +++ b/Development/Runners/docker-compose.yml @@ -0,0 +1,14 @@ +version: "3.8" +services: + runner: + image: gitea/act_runner:latest + environment: + CONFIG_FILE: /config.yaml + GITEA_INSTANCE_URL: "git.luke-else.co.uk" + GITEA_RUNNER_REGISTRATION_TOKEN: "INSERT REGISTRATION TOKEN" + GITEA_RUNNER_NAME: "Action Runner" + GITEA_RUNNER_LABELS: "" + volumes: + - ./config.yaml:/config.yaml + - ./data:/data + - /var/run/docker.sock:/var/run/docker.sock \ No newline at end of file