From 126363dce9c2037a3843816416a7ef042daa9a8b Mon Sep 17 00:00:00 2001 From: jakedt Date: Tue, 1 Apr 2014 11:38:17 -0400 Subject: [PATCH] Use our patched version of docker-py with build credentials patched in. Fix the hostname in the build credentials block to be variable. --- data/model/legacy.py | 2 +- requirements-nover.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/model/legacy.py b/data/model/legacy.py index e398d8b97..9ddda72e1 100644 --- a/data/model/legacy.py +++ b/data/model/legacy.py @@ -1471,7 +1471,7 @@ def get_pull_credentials(trigger): return { 'username': trigger.pull_user.username, 'password': login_info.service_ident, - 'registry': 'quay.io' # TODO: Is there a better way to do this? + 'registry': app.config['URL_HOST'], } def create_webhook(repo, params_obj): diff --git a/requirements-nover.txt b/requirements-nover.txt index bac4ba690..8bd0d7946 100644 --- a/requirements-nover.txt +++ b/requirements-nover.txt @@ -21,7 +21,7 @@ xhtml2pdf logstash_formatter redis hiredis -docker-py +git+https://github.com/DevTable/docker-py.git loremipsum pygithub flask-restful