[CircleCI]Checkout code時のEither git or ssh (required by git to clone through SSH) is not installed in the image.

Either git or ssh (required by git to clone through SSH) is not installed in the image. Falling back to CircleCI’s native git client but the behavior may be different from official git. If this is an issue, please use an image that has official git and ssh installed.
Cloning git repository

error cloning repository: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain

上記のようにconfig.yml内でgitをインストールすればOKと思いきや、以下のようにさらにエラーが出てしまうため、

  • Project Settings > SSH Keys > Checkout SSH Keys > Deploy Keyを更新

を更新すればいいだけ。

Was this helpful?

0 / 0

コメントを残す