forked from coop-cloud/abra
fix: make release not crash on missing images
This commit is contained in:
parent
dc040a0b38
commit
95e19f03c4
|
@ -287,6 +287,9 @@ func getImageVersions(recipe recipe.Recipe) map[string]string {
|
|||
|
||||
var services = make(map[string]string)
|
||||
for _, service := range recipe.Config.Services {
|
||||
if (service.Image == "") {
|
||||
continue
|
||||
}
|
||||
srv := strings.Split(service.Image, ":")
|
||||
services[srv[0]] = srv[1]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue