zalando-stups / pierone-cli

DEPRECATED: Convenient command line client for STUPS' Pier One Docker registry
http://docs.stups.io/en/latest/components/pierone.html#command-line-client
Other
10 stars 13 forks source link

Does not respect `DOCKER_CONFIG` environment variable #88

Open pmeinhardt opened 4 years ago

pmeinhardt commented 4 years ago

The pierone CLI always writes to ~/.docker/config.json and does not respect a different configuration path indicated by the DOCKER_CONFIG environment variable:

https://github.com/zalando-stups/pierone-cli/blob/dc7a7328b557fd16f4ae799c4d166bcb657c6398/pierone/api.py#L162

hjacobs commented 4 years ago

Do you mind doing a PR with a fix?

pmeinhardt commented 4 years ago

Here you go: https://github.com/zalando-stups/pierone-cli/pull/90 ✌️