Skip to content

Commit

Permalink
feat(titus): resolve imageName from property files
Browse files Browse the repository at this point in the history
if propertyfiles have a imageName, this will also be used to resolve titus image names
  • Loading branch information
tomaslin committed Mar 29, 2017
1 parent 5469885 commit fb73b16
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -95,6 +95,9 @@ class AmazonServerGroupCreator implements ServerGroupCreator, DeploymentDetailsA
if (trigger && trigger.repository && trigger.tag) {
operation.imageId = "${trigger.repository}:${trigger.tag}".toString()
}
if (!operation.imageId && trigger.properties && trigger.properties.imageName) {
operation.imageId = trigger.properties.imageName
}
}
}
}
Expand Down

0 comments on commit fb73b16

Please sign in to comment.