buildman: add git_url to build_config
This commit is contained in:
parent
81c4513ec1
commit
4c8814866c
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,7 @@ class BuildComponent(BaseComponent):
|
|||
|
||||
# Parse the build queue item into build arguments.
|
||||
# build_package: URL to the build package to download and untar/unzip.
|
||||
# git_url: URL to clone a repository (builder will create and upload the buildpack).
|
||||
# sub_directory: The location within the build package of the Dockerfile and the build context.
|
||||
# repository: The repository for which this build is occurring.
|
||||
# registry: The registry for which this build is occuring (e.g. 'quay.io', 'staging.quay.io').
|
||||
|
@ -120,6 +121,7 @@ class BuildComponent(BaseComponent):
|
|||
# password: The password for pulling the base image (if any).
|
||||
build_arguments = {
|
||||
'build_package': buildpack_url,
|
||||
'git_url': build_config.get('git_url', ''),
|
||||
'sub_directory': build_config.get('build_subdir', ''),
|
||||
'repository': repository_name,
|
||||
'registry': self.registry_hostname,
|
||||
|
|
Reference in a new issue