Skip to content

Commit 4d7700e

Browse files
author
Matthew Fisher
committed
Merge pull request #1811 from aledbf/inject_app_and_tag
feat(controller): inject app name and tag version in image env.
2 parents 7d29445 + 16e92ee commit 4d7700e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

controller/registry/private.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def publish_release(source, config, target):
5353
# construct the new image
5454
image['parent'] = image['id']
5555
image['id'] = _new_id()
56+
config['DEIS_APP'] = target_image
57+
config['DEIS_RELEASE'] = target_tag
5658
image['config']['Env'] = _construct_env(image['config']['Env'], config)
5759
# update and tag the new image
5860
_commit(target_image, image, _empty_tar_archive(), target_tag)

0 commit comments

Comments
 (0)