From 530f498ed3cac40220249f0b7bacf4c2e24bc511 Mon Sep 17 00:00:00 2001 From: Rodrigo Antunes Date: Fri, 21 Jun 2024 08:22:28 -0300 Subject: [PATCH] Fix dockerhub image name (#1774) --- .ci/jenkins/Jenkinsfile.build-image | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.ci/jenkins/Jenkinsfile.build-image b/.ci/jenkins/Jenkinsfile.build-image index de59f6e4e..83a3f5621 100644 --- a/.ci/jenkins/Jenkinsfile.build-image +++ b/.ci/jenkins/Jenkinsfile.build-image @@ -278,9 +278,8 @@ String getImageVersion() { String getBuiltImageTag(String imageTag = '') { if (shouldDeployImage()) { return "${getDeployImageRegistry()}/${getDeployImageNamespace()}/${getFinalImageName()}:${imageTag ?: getDeployImageTag()}" - } else { - return "${env.localRegistryUrl}/${getBuildImageName()}:${githubscm.getCommitHash()}" } + return "${env.localRegistryUrl}/${getBuildImageName()}:${githubscm.getCommitHash()}" } void runPythonCommand(String cmd, boolean stdout = false) { @@ -323,7 +322,7 @@ String getDeployImageTag() { } String getFinalImageName() { - return getBuildImageName() + (getDeployImageNameSuffix() ? "-${getDeployImageNameSuffix()}" : '') + return "incubator-kie-" + getBuildImageName() + (getDeployImageNameSuffix() ? "-${getDeployImageNameSuffix()}" : '') } boolean isDeployLatestTag() {