我对 bitbucket 和 composer 管道有疑问。事实上,我有几个库托管在私有 bitbucket 存储库上。所以我在 composer.json 中添加了这个:
"repositories":
[
{
"type": "vcs",
"url": "<url>"
},
{
"type": "vcs",
"url": "<url>"
},
{
"type": "vcs",
"url": "<url>"
},
{
"type": "vcs",
"url": "<url>"
},
{
"type": "vcs",
"url": "<url>"
}
]
和
"config": {
"bitbucket-oauth": {
"bitbucket.org": {
"consumer-key": "key",
"consumer-secret": "secret"
}
}
}
但是在我的管道中有这个错误
Warning: Permanently added the RSA host key for IP address '18.205.93.0' to the list of known hosts.
git@bitbucket.org: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
你能帮助我吗?