Fix naming of docker hub references.
authorcah <cah@ableton.com>
Thu, 3 Oct 2019 21:49:30 +0000 (23:49 +0200)
committercah <cah@ableton.com>
Thu, 3 Oct 2019 21:49:30 +0000 (23:49 +0200)
cdist

diff --git a/cdist b/cdist
index d6b241f9d4584b5c23e0c9d93f7aaf3b80eb4e8f..bf478d2525e0d1ad341fba897104b6092c2722e3 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -525,7 +525,7 @@ class DockerTarget(Target):
 
         tag = self.image
         if config.has('docker_hub_repository'):
-            tag = '%s/%s' % (config.get('docker_hub_repository'), tag)
+            tag = '%s:%s' % (config.get('docker_hub_repository'), tag)
 
         self.container = command_and_read('%s run -u %s %s -itd %s /bin/bash' % (config.docker(), getpass.getuser(), opts, tag)).read().strip()