cicd: test - remove docker.sock from workflow volumes (auto-mount check)
CI/CD Deploy (Admin) / 构建后端镜像并部署 (push) Failing after 14s
CI/CD Deploy (Admin) / 构建后端镜像并部署 (push) Failing after 14s
This commit is contained in:
@@ -25,9 +25,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: docker:24.0-cli
|
image: docker:24.0-cli
|
||||||
# 挂载与 host 解析:runner-config 的 valid_volumes 白名单 + workflow 级 volumes/options
|
# 挂载与 host 解析:workflow 级 volumes/options + runner-config valid_volumes 白名单
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
|
||||||
- /opt/freedom:/opt/freedom
|
- /opt/freedom:/opt/freedom
|
||||||
options: --add-host=host.docker.internal:host-gateway
|
options: --add-host=host.docker.internal:host-gateway
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user