joined with ubuntu runner

This commit is contained in:
mal0
2025-07-08 21:44:31 +00:00
parent dccdb689dd
commit 37a7ebafd3
2 changed files with 24 additions and 0 deletions
+19
View File
@@ -48,6 +48,25 @@ services:
- gitea-db:/var/lib/postgresql/data
restart: unless-stopped
runner:
image: docker.io/gitea/act_runner:latest
environment:
GITEA_INSTANCE_URL: "${INSTANCE_URL}"
GITEA_RUNNER_REGISTRATION_TOKEN: "${REGISTRATION_TOKEN}"
GITEA_RUNNER_NAME: "${RUNNER_NAME}"
GITEA_RUNNER_LABELS: "${RUNNER_LABELS}"
depends_on:
- db
- server
volumes:
- /gitea/data:/data
- /var/run/docker.sock:/var/run/docker.sock
networks:
- frontend
- backend
volumes:
gitea-data:
driver: local
+5
View File
@@ -3,3 +3,8 @@
POSTGRES_DB = ""
POSTGRES_USER = ""
POSTGRES_PASSWORD = ""
INSTANCE_URL = 'https://gitshop.cc'
REGISTRATION_TOKEN =
RUNNER_NAME = 'ubuntu-22, latest'
RUNNER_LABELS = 'ubuntu-latest:docker://node:16-bullseye,ubuntu-22.04:docker://node:16-bullseye,ubuntu-20.04:docker://node:16-bullseye,ubuntu-18.04:docker://node:16-buster'