I’m a new user trying to get a Bitbucket-hosted Golang project to build. I’m using the reference circle.yml at https://circleci.com/docs/language-go/ . So far, I’m unable to even fetch my private dependencies. All the dependencies have both user and deploy keys, but I’m getting the error below, which apparently occurs when CircleCI runs ‘git ls-remote’ :
Warning: Permanently added ‘bitbucket.org,18.104.22.168’ (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.