Skip to content

Commit

Permalink
TEST: hardcode image to 'quay.io/ricardozanini/kogito-swf-builder:10.…
Browse files Browse the repository at this point in the history
…0.0-7fa12' to see if it fixes the issue in the builder

Signed-off-by: Jordi Gil <[email protected]>
  • Loading branch information
jordigilh committed Jan 22, 2024
1 parent 7146d24 commit e7d5100
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions controllers/workflowdef/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ package workflowdef
import (
"github.com/apache/incubator-kie-kogito-serverless-operator/api/metadata"
"github.com/apache/incubator-kie-kogito-serverless-operator/api/v1alpha08"
"github.com/apache/incubator-kie-kogito-serverless-operator/version"
)

const (
Expand Down Expand Up @@ -55,14 +54,15 @@ func GetDefaultOperatorImageTag() string {
}

func GetDefaultImageTag(imgTag string) string {
if version.IsSnapshot() {
imgTag += "-" + nightlySuffix
}
imgTag += ":"
if version.IsLatestVersion() {
imgTag += latestImageTag
} else {
imgTag += version.GetMajorMinor()
}
return imgTag
return "quay.io/ricardozanini/kogito-swf-builder:10.0.0-7fa12"
// if version.IsSnapshot() {
// imgTag += "-" + nightlySuffix
// }
// imgTag += ":"
// if version.IsLatestVersion() {
// imgTag += latestImageTag
// } else {
// imgTag += version.GetMajorMinor()
// }
// return imgTag
}

0 comments on commit e7d5100

Please sign in to comment.