diff --git a/Jenkinsfile b/Jenkinsfile index eaa5782..b40e655 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,9 +25,9 @@ node { } stage('Push image') { - docker.withRegistry('https://hub.thisfro.ch') { - dockerImage.push("$BUILD_NUMBER") - dockerImage.push('latest') + docker.withDockerRegistry('https://hub.thisfro.ch') { + app.push("$BUILD_NUMBER") + app.push('latest') } }