Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit e93e32e

Browse files
committed
Only replace / when tagging with ref
Signed-off-by: Nick Adcock <[email protected]>
1 parent 66d44b6 commit e93e32e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

internal/options/tag.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ func staticTags() []string {
4444

4545
func toFullTag(registry, repo, tag string) string {
4646
tag = strings.TrimSpace(tag)
47-
tag = strings.ReplaceAll(tag, "/", "-")
4847
if registry != "" {
4948
return fmt.Sprintf("%s/%s:%s", registry, repo, tag)
5049
}

0 commit comments

Comments
 (0)