From a832f3fc9710a9f759c3261acec99976871b1591 Mon Sep 17 00:00:00 2001 From: Jannis Portmann Date: Sat, 25 Dec 2021 14:43:30 +0100 Subject: [PATCH] Use correct commands --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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') } }