【发布时间】:2017-06-20 12:17:56
【问题描述】:
我正在尝试使用 ssh 密钥作为秘密从 git 存储库初始化 OpenShift 构建:
$ oc new-build --name=modelingweb git@bitbucket.org:genettasoft/gs_modelling_web.git --build-secret deploymentkey
但似乎我的 git url 没有被识别为 git url:
error: no match for "git@bitbucket.org: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.
我错过了什么?
【问题讨论】:
标签: git openshift-origin