This is an automated email from the ASF dual-hosted git repository.

rantunes pushed a commit to branch main
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git


The following commit(s) were added to refs/heads/main by this push:
     new 530f498e Fix dockerhub image name (#1774)
530f498e is described below

commit 530f498ed3cac40220249f0b7bacf4c2e24bc511
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Fri Jun 21 08:22:28 2024 -0300

    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 de59f6e4..83a3f562 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() {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to