summaryrefslogtreecommitdiff
path: root/docker/api/build.py
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2018-06-08 15:14:06 -0700
committerJoffrey F <joffrey@docker.com>2018-06-08 15:24:56 -0700
commit9d8ea53149b21ff64d1fa5911eecb54ff3dc2244 (patch)
treea25cc3cbe4dd35da5131b522846c0d8cbfe25246 /docker/api/build.py
parent2d0c5dd484e7621a9859ab40ac43d25a1f5f5078 (diff)
downloaddocker-py-c5930-credstore-env.tar.gz
Allow passing of env overrides to credstore through APIClient ctorc5930-credstore-env
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'docker/api/build.py')
-rw-r--r--docker/api/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/api/build.py b/docker/api/build.py
index 3c3f130..419255f 100644
--- a/docker/api/build.py
+++ b/docker/api/build.py
@@ -302,7 +302,8 @@ class BuildApiMixin(object):
# credentials/native_store.go#L68-L83
for registry in self._auth_configs.get('auths', {}).keys():
auth_data[registry] = auth.resolve_authconfig(
- self._auth_configs, registry
+ self._auth_configs, registry,
+ credstore_env=self.credstore_env,
)
else:
auth_data = self._auth_configs.get('auths', {}).copy()