私信  •  关注

neo696e64

neo696e64 最近回复了

一个不太理想但有效的解决方案是将以下设置添加到.drone.yml:

insecure: true

这使得它运行docker守护进程 --insecure-registry 根据 docs

首先,尝试使用https。

  • 如果https可用但证书无效,请忽略有关证书的错误。
  • 如果https不可用,请返回http。

在我的例子中,我知道我的注册表甚至没有通过http公开,所以看起来足够好了。