Skip to content

Commit

Permalink
Merge pull request #1123 from coreydaley/github_1122_fix_always_use_l…
Browse files Browse the repository at this point in the history
…atest_tag

S2I command always uses 'latest' tag
  • Loading branch information
openshift-merge-robot authored Jul 6, 2023
2 parents c879f90 + ad74e03 commit 980ca19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/cli/cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 980ca19

Please sign in to comment.