Skip to content

Commit

Permalink
add pillar name to docker tag
Browse files Browse the repository at this point in the history
- if pillar is present
  • Loading branch information
adamfeuer committed Feb 22, 2017
1 parent 396729c commit e4be00b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flyingcloud/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ def __init__(

self.container_name = container_name or "{}_{}".format(self.app_name, self.layer_name)
self.docker_layer_name = "{}{}".format(host_org, self.container_name)
if self.pillar:
self.docker_layer_name = "{}_{}".format(self.docker_layer_name, self.pillar)
self.layer_latest_name = "{}:latest".format(self.docker_layer_name)

if self.source_image_base_name:
Expand Down

0 comments on commit e4be00b

Please sign in to comment.