如何设置管道,以便Docker从本地注册表中提取镜像?
最佳答案
在用户mailing list post上找到,但我在官方文档中没有看到它。
为了后代,这是链接的答案
agent {
docker {
image "image name"
registryUrl "https://wherever"
registryCredentialsId "credsId"
}
}
在撰写本文时,我已使用最新的插件测试了此功能。
关于jenkins - Jenkins声明式管道Docker注册中心,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44206339/