From 775d74ed346c35279166e6cad2567e53dbadc504 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Mon, 20 May 2024 18:10:18 +0200 Subject: [PATCH] fix: stop pushing tags named after commits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They create too much garabge on Harbor registry. Signed-off-by: Jakub SokoĊ‚owski --- Jenkinsfile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index b7078db..07a0e96 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -85,16 +85,6 @@ pipeline { } } - stage('Push') { - steps { script { - withDockerRegistry([ - credentialsId: 'harbor-acid-info-private-robot', url: 'https://${DOCKER_REGISTRY}' - ]) { - image.push() - } - } } - } - stage('Deploy') { when { expression { params.IMAGE_TAG != '' } } steps { script {