From 99df470b474e52947b8854967692786015d23444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=96=E7=A0=81=E7=8C=BF?= Date: Sun, 5 Oct 2025 02:04:54 +0800 Subject: [PATCH] 333 --- .gitea/workflows/test.yml | 4 +--- docker-compose.yml | 5 +++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 34467d3..394c807 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 33035db..6ddf261 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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