我有一个程序,我想通过 docker cloud 自动构建,但它也有一个子模块。我可以在我自己的机器上构建映像,但是当我尝试构建时它总是失败。
Building in Docker Cloud's infrastructure...
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '104.192.143.3' to the list of known hosts.
Submodule 'joule-config' (git@hannanrhodes@bitbucket.org/jouleai/joule-service.git) registered for path 'joule-config'
fatal: repository 'git@hannanrhodes@bitbucket.org/jouleai/joule-service.git' does not exist
Clone of 'git@hannanrhodes@bitbucket.org/jouleai/joule-service.git' into submodule path 'joule-config' failed
please ensure the correct public key is added to the list of trusted keys for this repository and the remote branch exists. (1)
ERROR: Build failed: please ensure the correct public key is added to the list of trusted keys for this repository and the remote branch exists. (1)
ERROR: Build failed with exit code 2
ERROR: Build in 'master:/joule-service' (0123da2c) failed in 0:01:32