-
Notifications
You must be signed in to change notification settings - Fork 446
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
dockerhub private repo authentication #654
Comments
I'm afraid you have to configure your docker daemon. This is from our gitter chat:
and
cc @fiadliel |
Yes, the problem was that you can't provide authentication on a once-off basis for pushing, without it being added to You can manually run the command to log into a Docker server, if you have the ability to run particular commands in the environment:
|
Thanks for the quick response :) Well, it does make sense that a plugin shouldn't change to the environment... I was just hoping for an easier way to do it :p Right now, I'm using the following command as one of the Build Steps on my TeamCity deployment process:
After that step, I do the Thanks anyway! |
There is small section in the documentation. I leave this issue open to extend the docs there. |
It would be nice if the word "password" was near the text:
So when someone is searching the page, they can find it. |
Sounds reasonable. Would you like to open a pull request 😎? |
Would have saved me some time as well... |
@mkurz would you like to add a small section in the docs? |
Awesome ❤️ |
Is there a way to set the authentication for a private repository on dockerhub?
dockerRepository := Some("myRepo")
dockerRepositoryAuth := Some("myAuthToken")
???If not, what would be a work around? I want to automate the process of
docker:publish
with TeamCity.The text was updated successfully, but these errors were encountered: