On Tue, Jun 20, 2017 at 9:24 AM, Jonathan Alvarsson < [email protected]> wrote:
> Hi! > > I am trying to initialise an OpenShift build from a git repository > using an ssh-key as as secret: > > $ oc new-build --name=modelingweb > [email protected]:genettasoft/gs_modelling_web.git --build-secret > deploymentkey > > But it seems like my git url is not recognised as a git url: > > error: no match for "[email protected]:genettasoft > /gs_modelling_web.git" > > The 'oc new-build' command will match arguments to the following types: > > 1. Images tagged into image streams in the current project or > the 'openshift' project > - if you don't specify a tag, we'll add ':latest' > 2. Images in the Docker Hub, on remote registries, or on the > local Docker engine > 3. Git repository URLs or local paths that point to Git repositories > > --allow-missing-images can be used to force the use of an image > that was not matched > > See 'oc new-build -h' for examples. > > What am I missing? > Seems related to this issue that just got opened, let's hash it out there: https://github.com/openshift/origin/issues/14761 > > -- > // Jonathan Alvarsson > > Ps. I have also posted this on > https://stackoverflow.com/questions/44652848/openshift-build-from-git-repo > Ds. > > _______________________________________________ > users mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/users > -- Ben Parees | OpenShift
_______________________________________________ users mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/users
