We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cca8aae commit bc5b834Copy full SHA for bc5b834
pkg/app/tag.go
@@ -16,7 +16,7 @@ func (c *PolicyApp) Tag(existingRef, newRef string) error {
16
return err
17
}
18
existingRefParsed := existingRef
19
- if strings.Contains(existingRef, ":") {
+ if strings.Contains(existingRef, ":") || strings.Contains(existingRef, "/") {
20
existingRefParsed, err = parser.CalculatePolicyRef(existingRef, c.Configuration.DefaultDomain)
21
if err != nil {
22
0 commit comments