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