From 2a5a98f8706942c5d32b464e5c7efcc2d33c98bc Mon Sep 17 00:00:00 2001 From: lzh Date: Fri, 12 Dec 2025 16:18:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20cicd-=E8=B0=83=E6=95=B48?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/ci-deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/ci-deploy.yml b/.gitea/workflows/ci-deploy.yml index 15e778c..c27b478 100644 --- a/.gitea/workflows/ci-deploy.yml +++ b/.gitea/workflows/ci-deploy.yml @@ -8,6 +8,10 @@ on: jobs: build-and-deploy: runs-on: xw-runner + container: + image: catthehacker/ubuntu:act-latest + # 必须挂载 docker.sock 才能在容器内控制宿主机 Docker + options: -v /var/run/docker.sock:/var/run/docker.sock steps: # 1. 手动检出代码 (零外部依赖,解决拉取 Action 慢的问题) - name: Checkout (Native)