333
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s

This commit is contained in:
编码猿
2025-10-05 02:04:54 +08:00
parent d0f8ff45df
commit 99df470b47
2 changed files with 4 additions and 5 deletions

View File

@@ -6,9 +6,7 @@ jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: 测试命令
shell: sh
run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code

View File

@@ -8,11 +8,12 @@ services:
volumes:
- runner-data:/data
- /var/run/docker.sock:/var/run/docker.sock
working_dir: /data # 关键:设置工作目录为卷挂载点
environment:
- GITEA_INSTANCE_URL=https://git.bmycode.help
- GITEA_RUNNER_REGISTRATION_TOKEN=WFiO5JDwz7CHnk7fMGJYMcSITU81CLXuI7Ofg10e
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://node:20-bullseye
- GITEA_RUNNER_NAME=ci操作
- GITEA_RUNNER_LABELS=ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest
- GITEA_RUNNER_NAME=my-vue-app-runner
networks:
- gitea-actions-network