Skip to content

Commit

Permalink
fix(build): Explicitly pass project to Google Container Builder. (#1467)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtk54 committed Mar 8, 2017
1 parent 2d3a749 commit f11330b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev/build_release.py
Expand Up @@ -311,8 +311,9 @@ def start_container_build(self, name):
if self.__options.container_builder == 'gcb':
return BackgroundProcess.spawn(
'Building and publishing container image for {name} with Google Container Builder...'.format(name=name),
'cd "{gradle_root}"; gcloud container builds submit --account={account} --config="../{name}-gcb.yml" .'
.format(gradle_root=gradle_root, name=name, account=self.__google_service_account)
'cd "{gradle_root}"; gcloud container builds submit --account={account} --project={project} --config="../{name}-gcb.yml" .'
.format(gradle_root=gradle_root, name=name, account=self.__google_service_account,
project=self.__options.google_project)
)
elif self.__options.container_builder == 'docker':
return BackgroundProcess.spawn(
Expand Down

0 comments on commit f11330b

Please sign in to comment.