From c282566cd9a6c3ac0dbef6deee58df5a1cee3f86 Mon Sep 17 00:00:00 2001 From: John Gasper Date: Wed, 5 Sep 2018 09:46:41 -0700 Subject: [PATCH] Fixing subdirectory in path --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5f32e57..3481bb3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -143,7 +143,7 @@ def build(tagSet) { def builds = [:] for (String tag : tagSet) { - def baseImg = docker.build("${maintainer}/${imagename}:${tag}", "--no-cache ${tag}") + def baseImg = docker.build("${maintainer}/${imagename}:${tag}", "--no-cache ${tag.split('.')(0)}/${tag}") echo "built ${tag}; adding to the push queue" builds.put(tag, baseImg); }