File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -958,15 +958,19 @@ def builds_create(self, args):
958958
959959 Arguments:
960960 <image>
961- A fully-qualified docker image, either from Docker Hub (e.g. deis/example-go)
962- or from an in-house registry (e.g. myregistry.example.com:5000/example-go).
961+ A fully-qualified docker image, either from Docker Hub (e.g. deis/example-go:latest)
962+ or from an in-house registry (e.g. myregistry.example.com:5000/example-go:latest).
963+ This image must include the tag.
963964
964965 Options:
965966 -a --app=<app>
966967 The uniquely identifiable name for the application.
967968 -p --procfile=<procfile>
968969 A YAML string used to supply a Procfile to the application.
969970 """
971+ if ':' not in args ['<image>' ]:
972+ self ._logger .error ('<image> must contain a tag' )
973+ sys .exit (1 )
970974 app = args .get ('--app' )
971975 if not app :
972976 app = self ._session .app
You can’t perform that action at this time.
0 commit comments