forked from toolshed/abra
allow to define remote branches as recipe source
This commit is contained in:
@ -95,6 +95,7 @@ func (r Recipe) GetVersionLabelLocal() (string, error) {
|
||||
|
||||
for _, service := range config.Services {
|
||||
for label, value := range service.Deploy.Labels {
|
||||
log.Debugf("checking deploy label '%s'", label)
|
||||
if strings.HasPrefix(label, "coop-cloud") && strings.Contains(label, "version") {
|
||||
return value, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user