fix: use external Forgejo instance for CI

This commit is contained in:
KV-Tube Deployer 2026-03-28 11:05:35 +07:00
parent 59e97f805e
commit 1c867043fc

View file

@ -30,7 +30,7 @@ services:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- ./runner-data:/data - ./runner-data:/data
entrypoint: > entrypoint: >
sh -c "if [ ! -f /data/.runner ]; then forgejo-runner register --no-interactive --instance http://server:3000 --token xP3IdP05YPJJZ504z7UzK90njFFzQnX4d77cJiCN --name synology-runner --labels ubuntu-latest:docker://node:20-bookworm,ubuntu-22.04:docker://node:20-bookworm,docker:host; fi; forgejo-runner daemon" sh -c "if [ ! -f /data/.runner ]; then forgejo-runner register --no-interactive --instance https://git.khoavo.myds.me --token xP3IdP05YPJJZ504z7UzK90njFFzQnX4d77cJiCN --name synology-runner --labels ubuntu-latest:docker://node:20-bookworm,ubuntu-22.04:docker://node:20-bookworm,docker:host; fi; forgejo-runner daemon"
environment: environment:
- TZ=Asia/Ho_Chi_Minh - TZ=Asia/Ho_Chi_Minh