0

I'm trying to deploy a PHP project using Bitbucket Pipelines. It is using a custom docker image and the project is trying to install a private Bitbucket package.

When i run the pipeline, i get an error:

Cloning into bare repository '/root/.composer/cache/vcs/git-bitbucket.org-my-cusomt-repo.git'...
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.

I'm guessing this is because the docker image doesn't have SSH access to my private repo.

Is there anything I can do in the pipeline to give the docker container access to the repo?

Thanks

sipher_z
  • 111
  • 5

0 Answers0