From 5996823727127c6d90b97343dd8f63e99f9afca0 Mon Sep 17 00:00:00 2001 From: James Rasell Date: Thu, 5 Aug 2021 10:44:39 +0200 Subject: [PATCH] Merge pull request #10929 from AchilleAsh/fix-token-docker-auth-config fix: load token in docker auth config --- drivers/docker/utils.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/docker/utils.go b/drivers/docker/utils.go index d3dab383d03..e784bfb92e5 100644 --- a/drivers/docker/utils.go +++ b/drivers/docker/utils.go @@ -125,6 +125,8 @@ func authFromDockerConfig(file string) authBackend { Password: dockerAuthConfig.Password, Email: dockerAuthConfig.Email, ServerAddress: dockerAuthConfig.ServerAddress, + IdentityToken: dockerAuthConfig.IdentityToken, + RegistryToken: dockerAuthConfig.RegistryToken, } if authIsEmpty(auth) { return nil, nil