I have a Docker Automated Build that comes from a private github repo. The "Deploy Key" is adequate to get the repo into the build system. However, in the docker file I have tried...
Then...
Then I added...
RUN umask 0077; mkdir ~/.ssh
RUN echo -e "\n\nHost
github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
Now in my logs I get....
Cloning into 'service_layer_config'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
So, I'm wondering if there is some way to use the same "Deploy Key" inside my build process for cloning a private repo.