Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to provide credentials #124

Closed
errm opened this issue Apr 18, 2018 · 4 comments
Closed

Document how to provide credentials #124

errm opened this issue Apr 18, 2018 · 4 comments
Labels
kind/enhancement New feature or request

Comments

@errm
Copy link

errm commented Apr 18, 2018

The README says

configuring another credential helper should allow pushing to a different registry

It would be great to include an example

@carlossg
Copy link
Contributor

dupe of #109

@Boolman
Copy link

Boolman commented Apr 20, 2018

this works for me:

sudo docker run -v ${PWD}:${PWD} -v ${HOME}/.docker/config.json:/root/.docker/config.json boolman/kaniko:ubuntu -d gitlab.domain.local:4567/org/containername:tagname -c ${PWD}

cat $HOME/.docker/config.json
{
"auths": {
"gitlab.domain.local:4567": {
"auth": "dXNlcm5hbWU6cGFzc3dvcmQ="
},
},
"HttpHeaders": {
"User-Agent": "Docker-Client/18.03.0-ce (linux)"
}
}

@priyawadhwa priyawadhwa added the kind/enhancement New feature or request label Apr 20, 2018
@carlossg
Copy link
Contributor

Documented in #129

@dlorenc
Copy link
Collaborator

dlorenc commented Apr 25, 2018

Closing as a dup of #109.

@dlorenc dlorenc closed this as completed Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants