From e2e226cb13c98f57597fa06020c76436fb1d3bb2 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Tue, 21 Nov 2023 20:05:17 +0100 Subject: [PATCH] Change to dind gitea runner --- roles/gitea/templates/docker-compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/gitea/templates/docker-compose.yml b/roles/gitea/templates/docker-compose.yml index 6952188..fdda5d8 100644 --- a/roles/gitea/templates/docker-compose.yml +++ b/roles/gitea/templates/docker-compose.yml @@ -41,14 +41,15 @@ services: mode: non-blocking runner: - image: gitea/act_runner + image: gitea/act_runner:latest-dind-rootless restart: unless-stopped + privileged: true depends_on: - gitea volumes: - {{ server.work_dir }}/gitea/runner/:/data - - /var/run/docker.sock:/var/run/docker.sock environment: + - DOCKER_HOST=unix:///var/run/user/1000/docker.sock - GITEA_INSTANCE_URL=https://gitea.{{ server.domain }} - GITEA_RUNNER_REGISTRATION_TOKEN={{ gitea.runner_registration_token }}