2017-06-20 92 views
0

我想初始化的OpenShift使用SSH密鑰作爲作爲祕密從一個Git倉庫建設:OpenShift從git倉庫建設

$ oc new-build --name=modelingweb [email protected]:genettasoft/gs_modelling_web.git --build-secret deploymentkey 

但好像我的git的網址不被識別爲一個git網址:

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. 

我錯過了什麼?

回答