From 52759faa0341e5463afe6fb8cf51027216cc5d3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 31 Oct 2023 17:42:53 +0100 Subject: [PATCH] fix(ci): fix Docker tag for latest and release jobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ci/Jenkinsfile.release | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ci/Jenkinsfile.release b/ci/Jenkinsfile.release index 9a2a8afef..5301477da 100644 --- a/ci/Jenkinsfile.release +++ b/ci/Jenkinsfile.release @@ -104,12 +104,9 @@ pipeline { } // pipeline def getDefaultImageTag() { - if (env.JOB_BASE_NAME) { - return env.JOB_BASE_NAME - } switch (env.JOB_BASE_NAME) { case 'docker-latest': return 'latest' case 'docker-release': return 'stable' - default: return '' + default: return env.JOB_BASE_NAME } }