fix: update generated file

This commit is contained in:
Rhomel Chinsio
2020-01-22 15:39:12 +09:00
parent bce9cb5710
commit 866303a0d7

View File

@@ -147,7 +147,7 @@ func (p *ImageTagTransformerPlugin) findContainers(obj map[string]interface{}) e
}
func isImageMatched(s, t string) bool {
// Tag values are limited to [a-zA-Z0-9_.-].
// Tag values are limited to [a-zA-Z0-9_.-{}].
pattern, _ := regexp.Compile("^" + t + "(@sha256)?(:[a-zA-Z0-9_.-{}]*)?$")
return pattern.MatchString(s)
}