-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support updating the README at Docker Hub #16
Comments
I'm currently seeing Forbidden when the There seem to have been a lot of issues authenticating the necessary repo PATCH HTTP API call over time with the Docker Hub team refactoring their system internally and breaking things. This exact case is apparently working via the 'docker-pushrm` command and that is apparently available as a GH Action here, so I'll try that and see if it works. |
Hmm, I spoke to soon perhaps, the README for the GH Action that I thought might work says this:
|
The latest version of the underlying
And I see that the GH Action is using that via Docker Hub tag "1". |
No, still fails with Forbidden:
There is no "admin" scope option in the Docker Hub UI, only read, write and delete. Googling seems to say that admin is only with a proper Docker Hub account login via username/password rather than Personal Access Token (PAT), e.g. https://docs.docker.com/docker-hub/access-tokens/ says:
However, I have 2FA enabled for the actual Docker Hub admin account so that won't work in an automation scenario. |
At Docker Hub our images have their own README files which were originally in sync with the README in the GitHub repository. However, the Docker Hub README has to be manually kept up-to-date and typically gets forgotten. It would be useful to be able to update it automatically as part of the Docker publication steps done by the reusable packaging workflow.
The text was updated successfully, but these errors were encountered: