This commit is contained in:
parent
14bd54a046
commit
e5e36f31e7
|
|
@ -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 用的
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue