Skip to content

Commit 89807af

Browse files
fix(custom tags): --use-custom-tag with an image name not work properly
1 parent 2d0d39a commit 89807af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/deploy/helm/chart_extender/helpers/service_values.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func GetServiceValues(ctx context.Context, projectName string, repo string, imag
8888
var image string
8989

9090
if opts.CustomTagFunc != nil {
91-
tag = opts.CustomTagFunc(imageInfoGetter.GetName())
91+
tag = opts.CustomTagFunc(imageInfoGetter.GetWerfImageName())
9292
image = strings.Join([]string{repo, tag}, ":")
9393
} else {
9494
tag = imageInfoGetter.GetTag()

0 commit comments

Comments
 (0)