This commit is contained in:
gxl 2026-06-03 18:27:47 +08:00
parent 14bd54a046
commit e5e36f31e7
1 changed files with 3 additions and 3 deletions

View File

@ -26,9 +26,9 @@ steps:
# 👇 1. 核心:必须换成官方文档指定的 -insecure 后缀镜像 # 👇 1. 核心:必须换成官方文档指定的 -insecure 后缀镜像
image: woodpeckerci/plugin-docker-buildx:latest-insecure image: woodpeckerci/plugin-docker-buildx:latest-insecure
privileged: true privileged: true
volumes: # volumes:
# 👇 官方推荐挂载 1让容器内层 dockerd 能够读取到宿主机配好的不安全仓库HTTP和加速器凭证 # 👇 官方推荐挂载 1让容器内层 dockerd 能够读取到宿主机配好的不安全仓库HTTP和加速器凭证
- /etc/docker:/etc/docker:ro # - /etc/docker:/etc/docker:ro
settings: settings:
repo: push.lovestory.cyou/abhors/demo repo: push.lovestory.cyou/abhors/demo
insecure: true # 这个是给内部 dockerd 用的 insecure: true # 这个是给内部 dockerd 用的