diff --git a/config/config.go b/config/config.go index 3b3aeae..fb7a40b 100644 --- a/config/config.go +++ b/config/config.go @@ -132,7 +132,9 @@ func readConfig(configFile string) (map[string]*Layout, error) { for _, layout := range layouts { spec := layout.DefaultSpec for _, container := range layout.Versions { - container.Path = layout.Path + if container.Path == "" { + container.Path = layout.Path + } container.Meta.Annotations = merge(container.Meta.Annotations, layout.Meta.Annotations) container.Meta.Labels = merge(container.Meta.Labels, layout.Meta.Labels) container.Volumes = layout.Volumes