Automate authentication / login to Docker Hub via hub-tool
#720
Labels
community_new
New idea raised by a community contributor
hub-tool
#720
Tell us about your request
I'd like to automate login / authentication to Docker Hub with
hub-tool
. Currently I need to manually enter the password which prevents me from running an automated workflow in GitHub Actions that useshub-tool
.Which service(s) is this request for?
hub-tool
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I'm trying to run
hub-tool
in GitHub Actions as an automated process to delete some Docker images from Docker Hub. However, I can't automate the login process. I can pass my username to the login command but not the password:./hub-tool login misharitual
It still prompts me for a password that I have to manually enter. Is there a way to automate the authentication so I can pass the username and password without being prompted?
Are you currently working around the issue?
I'm trying to use automation libraries like
expect
to inject the password intohub-tool
so it can automate the login but it's not working.Additional context
The text was updated successfully, but these errors were encountered: