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)