diff --git a/Jenkinsfile b/Jenkinsfile index 278e7f7..e8652d7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -4,7 +4,7 @@ pipeline { maintainer = "t" imagename = 'g' tag = 'l' - version='3.1.1' + version='3.2.0-rc1' } stages { stage('Setting build context') { @@ -34,7 +34,7 @@ pipeline { steps { script { docker.withRegistry('https://registry.hub.docker.com/', "dockerhub-$maintainer") { - def baseImg = docker.build("$maintainer/$imagename", "--build-arg COMANAGE_REGISTRY_VERSION=$version .") + def baseImg = docker.build("$maintainer/$imagename", "--no-cache --build-arg COMANAGE_REGISTRY_VERSION=$version .") baseImg.push("$tag") } }