gitlab ci runner 无法 git clone 的问题

2019-03-29 14:07发布

问题:

git clone 会出现下面的错误:

Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights

请问如何解决这个问题?

回答1:

gitlab-runner 是基于 https 进行 git clone 的,目前不支持基于 ssh 进行 git clone

相关 issue :https://gitlab.com/gitlab-org/gitlab-runner/issues/1884



标签: gitlab