Remove server hostname hack
This commit is contained in:
parent
cfc6b196a4
commit
01dc10b8fc
2 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ class BuildComponent(BaseComponent):
|
|||
'build_package': buildpack_url,
|
||||
'sub_directory': build_config.get('build_subdir', ''),
|
||||
'repository': repository_name,
|
||||
'registry': '10.0.2.2:5000' or self.server_hostname,
|
||||
'registry': self.server_hostname,
|
||||
'pull_token': build_job.repo_build().access_token.code,
|
||||
'push_token': build_job.repo_build().access_token.code,
|
||||
'tag_names': build_config.get('docker_tags', ['latest']),
|
||||
|
|
Reference in a new issue