--- a/ChangeLog Sun Jan 14 05:12:00 2018 -0600
+++ b/ChangeLog Sun Jan 14 06:03:40 2018 -0600
@@ -1,4 +1,7 @@
+ * Fixed an issue in docker.ParseImage where something like convey/workspace + would in correctly determine the registry to be convey and the image to be * Changed the way subcommands are run. Fixed #153
* Added `run` sub-command.
* Deprecated `--graphviz`, use `graphviz` instead.
--- a/docker/util.go Sun Jan 14 05:12:00 2018 -0600
+++ b/docker/util.go Sun Jan 14 06:03:40 2018 -0600
@@ -30,10 +30,13 @@
+ // split the image into two pieces on the first / parts := strings.SplitN(image, "/", 2)
+ if strings.Contains(parts[0], ".") || strings.Contains(parts[0], ":") || parts[0] == "localhost" { parts = strings.SplitN(image, ":", 2)
--- a/docker/util_test.go Sun Jan 14 05:12:00 2018 -0600
+++ b/docker/util_test.go Sun Jan 14 06:03:40 2018 -0600
@@ -46,6 +46,21 @@
+ input: "convey/workspace", + name: "convey/workspace", + input: "localhost/convey/workspace", + name: "convey/workspace", + input: "localhost:5000/convey/workspace", + registry: "localhost:5000", + name: "convey/workspace", input: "registry.docker.io/python:3",
registry: "registry.docker.io",