cicd: test - remove docker.sock from workflow volumes (auto-mount check)
CI/CD Deploy (Admin) / 构建后端镜像并部署 (push) Failing after 14s

This commit is contained in:
2026-08-26 14:41:34 +08:00
parent 064932f04a
commit 4d0f830bd1
+1 -2
View File
@@ -25,9 +25,8 @@ jobs:
runs-on: ubuntu-latest
container:
image: docker:24.0-cli
# 挂载与 host 解析:runner-config 的 valid_volumes 白名单 + workflow 级 volumes/options
# 挂载与 host 解析:workflow 级 volumes/options + runner-config valid_volumes 白名单
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /opt/freedom:/opt/freedom
options: --add-host=host.docker.internal:host-gateway
steps: