-
Bug
-
Resolution: Done
-
Undefined
-
None
-
4.17
-
None
-
None
-
False
-
Description of problem:
oc new-app . --strategy=docker
fails to build the source code which is cloned from a public GitHub repository. Whereas if I clone the same repository using the HTTPS URI the build is successful.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Clone a public GitHub repository using the SSH URI i.e
git@github.com:<username>/<repository>.git
2. Execute the oc new-app --strategy=docker command:
oc new-app <cloned-repo-destination> --strategy=docker -v=10
3. Check the logs of the BuildConfig created:
oc logs -f buildconfig/<name>
Actual results:
Cloning "git@github.com:<username>/<repository>.git" ... error: Host key verification failed. fatal: Could not read from remote repository.Please make sure you have the correct access rights and the repository exists.
Expected results:
Build should be successful
Additional info: