Skip to content

Commit 2ff233b

Browse files
author
Matthew Fisher
committed
fix(builder): revert target_image
When target_image was POST'd to the controller through /api/hooks/build, the tag was not originally sent. Reverting the behaviour so `git push deis master` works again.
1 parent ae9e617 commit 2ff233b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

builder/templates/builder

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ if __name__ == '__main__':
4444
short_sha = sha[:8]
4545
# define image names
4646
tmp_image = "{app}:git-{short_sha}".format(**locals())
47-
target_image = "{{ .deis_registry_host }}:{{ .deis_registry_port }}/{tmp_image}".format(**locals())
47+
target_image = "{{ .deis_registry_host }}:{{ .deis_registry_port }}/{app}".format(**locals())
4848
for d in (cache_dir, build_dir):
4949
if not os.path.exists(d):
5050
os.mkdir(d)

0 commit comments

Comments
 (0)