Skip to content

Commit

Permalink
Fix dockerhub image name (#1774)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull authored Jun 21, 2024
1 parent a4ca76d commit 530f498
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .ci/jenkins/Jenkinsfile.build-image
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -323,7 +322,7 @@ String getDeployImageTag() {
}

String getFinalImageName() {
return getBuildImageName() + (getDeployImageNameSuffix() ? "-${getDeployImageNameSuffix()}" : '')
return "incubator-kie-" + getBuildImageName() + (getDeployImageNameSuffix() ? "-${getDeployImageNameSuffix()}" : '')
}

boolean isDeployLatestTag() {
Expand Down

0 comments on commit 530f498

Please sign in to comment.