From ad74e0303b1d2b57ca2c6361b3bbe4c19d057e26 Mon Sep 17 00:00:00 2001 From: Corey Daley Date: Wed, 5 Jul 2023 20:20:12 -0400 Subject: [PATCH] S2I command always uses 'latest' tag Fixes #1122 --- pkg/cmd/cli/cmd/generate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/cli/cmd/generate.go b/pkg/cmd/cli/cmd/generate.go index 8a696ff90..d09727ee0 100644 --- a/pkg/cmd/cli/cmd/generate.go +++ b/pkg/cmd/cli/cmd/generate.go @@ -106,7 +106,7 @@ func manageConfigImageLabelsBuildImageName(ctx context.Context, cfg *api.Config) return err } - cfg.BuilderImage = ref.DockerReference().Name() + cfg.BuilderImage = ref.DockerReference().String() if cfg.BuilderImageLabels, err = getImageLabels(ctx, ref); err != nil { return err