Commit graph

5 commits

Author SHA1 Message Date
Tanguy ⧓ Herrmann
4909b90662 go fmt done! 2016-12-17 22:56:04 +01:00
Ross Cadogan
dad5d58339 Support loading authentication credentials from Docker config file 2016-11-08 12:15:17 +00:00
Ross Cadogan
e75236414e When authentication credentials are supplied as env vars they are always used.
This causes authentication failures on registries that don't match, including public registries.
Fallback to no-authentication to handle the case of public registries.
2016-10-18 15:08:25 +01:00
Ross Cadogan
541264281c Cannot load host Docker config from container. Remove option and rely on environment variables 2016-10-18 14:51:44 +01:00
Ross Cadogan
1c59200565 Registry authentication was failing silently when pulling images.
Load authentication credentials for available credential stores in order of preference:
 1. Environment variables REPO_USER, REPO_PASS
 2. Docker config files
Request image pull with authentication header.
Wait until pull request is complete before exiting function.
2016-10-18 14:04:55 +01:00