Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Pickup .docker/config.json for authentication to push #9

Open
rhuss opened this issue Mar 6, 2020 · 1 comment
Open

Pickup .docker/config.json for authentication to push #9

rhuss opened this issue Mar 6, 2020 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rhuss
Copy link

rhuss commented Mar 6, 2020

At the moment you have to provide the credentials for pushing a docker image directly in the configuration.
Even when these can be picked up from an environment variable, this is not optimal.

Instead (or in addition) it should work similarly like the kubectl authentication, by picking up the default credentials stored in ~/.docker/config.json. This way the full machinery of docker login can be used for handling various authentication mechanism (like e.g. for registries like GCR or ECR that use a different authentication mechanism than simple user/password auth).

@medikoo
Copy link
Contributor

medikoo commented Mar 6, 2020

@rhuss thanks for report. PR that provides that is highly weolcome.

@pmuens do you have any thoughts on that?

@medikoo medikoo added enhancement New feature or request help wanted Extra attention is needed labels Mar 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants