Skip to content

Commit

Permalink
fix: adjust core image to "latest" when using "Latest" flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vafilor committed Jan 12, 2021
1 parent 247ca4c commit 2b67227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ func GenerateKustomizeResult(config opConfig.Config, kustomizeTemplate template.
coreUiImageTag := opConfig.CoreUIImageTag
coreUiImagePullPolicy := "IfNotPresent"
if Dev {
coreImageTag = "dev"
coreImageTag = "latest"
coreImagePullPolicy = "Always"
coreUiImageTag = "dev"
coreUiImageTag = "latest"
coreUiImagePullPolicy = "Always"
}
yamlFile.PutWithSeparator("applicationCoreImageTag", coreImageTag, ".")
Expand Down

0 comments on commit 2b67227

Please sign in to comment.