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); }