From 750f5df4f3d550ddd7ee48709400dde455f1c20f Mon Sep 17 00:00:00 2001 From: Jannis Portmann Date: Sat, 25 Dec 2021 14:37:53 +0100 Subject: [PATCH] Try other commands --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 38873ab..eaa5782 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -25,9 +25,9 @@ node { } stage('Push image') { - docker.withRegistry('https://hub.thisfro.ch', 'git') { - app.push("${env.BUILD_NUMBER}") - app.push("latest") + docker.withRegistry('https://hub.thisfro.ch') { + dockerImage.push("$BUILD_NUMBER") + dockerImage.push('latest') } }