我在GitHub上有两个私人存储库,名为dashboard
和ui
。我将ui
定义为dashboard
的git子模块,并且我将Docker配置为自动构建dashboard
对特定分支上的每个更改。git私有子模块的docker autobuild
我阅读了这个文档https://docs.docker.com/docker-hub/builds/,但是当我尝试设置docker在我的ui
的设置中给出的部署密钥时,它说“密钥已被使用”。事实上,dashboard
已使用此密钥来允许docker自动构建此回购站!
这里是我的搬运工生成日志:
Error:
Failed to clone repository: Cloning into '/tmp/build_byaxhis7sznbvmb6wgwzm6n'... Submodule 'app/styles/ui' ([email protected]:yllieth/ui.git) registered for path 'app/styles/ui' Cloning into 'app/styles/ui'... Warning: Permanently added 'github.com,192.30.252.130' (RSA) to the list of known hosts. ERROR: Repository not found. fatal: The remote end hung up unexpectedly Clone of '[email protected]:yllieth/ui.git' into submodule path 'app/styles/ui' failed
Dockerfile: None
码头工人没有发现任何Dockerfile即使我有一个在我dashboard
回购定义。所以,我将无法给出任何指示或添加另一个SSH密钥。
如果任何人有关于如何使用autobuild与私人回购和git子模块的想法,我很感兴趣!
遇到同样的问题。任何人都可以确认私人子模块应该在自动构建中工作吗? – 2014-11-17 06:51:21