fix: when upgrading, skip over bad tags, don't error out
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f4b563528f
commit
b9ec41647b
@ -54,8 +54,8 @@ func UpdateTag(pattern, image, tag, recipeName string) (bool, error) {
|
||||
case reference.NamedTagged:
|
||||
composeTag = img.(reference.NamedTagged).Tag()
|
||||
default:
|
||||
// unable to parse, typically image missing tag
|
||||
return false, nil
|
||||
logrus.Debugf("unable to parse %s, skipping", img)
|
||||
continue
|
||||
}
|
||||
|
||||
composeImage := formatter.StripTagMeta(reference.Path(img))
|
||||
|
Loading…
Reference in New Issue
Block a user