修改cicd为gitea action,简化操作

This commit is contained in:
编码猿
2025-10-07 00:59:16 +08:00
parent 7fb0f60ec0
commit cb8f7a4682
12 changed files with 235 additions and 128 deletions

View File

@@ -0,0 +1,17 @@
version: '3.8'
services:
gitea-actions-runner:
image: gitea/act_runner:latest
container_name: gitea-act-runner
restart: unless-stopped
volumes:
- runner-data:/data
- /var/run/docker.sock:/var/run/docker.sock
environment:
- GITEA_INSTANCE_URL=https://git.bmycode.help
- GITEA_RUNNER_REGISTRATION_TOKEN=WFiO5JDwz7CHnk7fMGJYMcSITU81CLXuI7Ofg10e
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest
volumes:
runner-data: