Skip to content

Commit

Permalink
fix(cli): prebuild image tag whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbreuninger committed Apr 26, 2024
1 parent 2ee823e commit 6cfb00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/docker/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (r *DockerHelper) GetImageTag(ctx context.Context, imageID string) (string,
tagSplits := strings.Split(repoTag, ":")

if len(tagSplits) > 0 {
return tagSplits[1], nil
return strings.TrimSpace(tagSplits[1]), nil
}

return "", nil
Expand Down

0 comments on commit 6cfb00e

Please sign in to comment.