I'm trying to clone a second repository with deployment config in my pipeline:
- git clone email@example.com:<team>/<repo>.git /<repo>
I followed the steps listed here: https://confluence.atlassian.com/bitbucket/use-ssh-keys-in-bitbucket-pipelines-847452940.html
This works fine when I use a Debian based image (google/cloud-sdk).
However, when I use an Alpine based image this fails. This is a private image based on devth/helm, I added ssh with:
RUN apk add --no-cache openssh-client
+ git clone firstname.lastname@example.org:<team>/<repo>.git /<repo>
Cloning into '/<repo>'...
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Do I need extra steps to get this to work on Alpine?
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events