-
Notifications
You must be signed in to change notification settings - Fork 177
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
Logging in to Github Container Registry #54
Comments
And the last missing piece, please also include a link to this instructing people to enable the feature: https://docs.github.com/en/packages/guides/enabling-improved-container-support Just wasted a lot of my time fighting your guides figuring all the missing steps. Please don't expect people to be familiar with all the details around. Even for experienced users that is simply not a fair assumption (for whatever reason they might never have had the need for this yet). |
The key
That's the current design implemented by GitHub as explained in their documentation. Nothing we (Docker) can do about that with the
I will add a note about this, thanks for pointing this out.
As you said you have followed the GitHub Container Registry section in the README. If so, you must have noticed the link to the GitHub documentation to create the appropriate scopes which covers the minimal steps to create a personal access token and a secret in your repository to be able to use this action. If you are not familiar with GitHub Actions I suggest to read their quick start guide. |
Behaviour
Steps to reproduce this issue
Expected behaviour
It should at least log in. I assume that the token I created should be added to the secrets (will try that in a moment)
Also project wide settings should not depend on personal tokens. IMO it's a an obviously bad design. The token is personal, the user might accidentally delete it, leave the projects etc. Either it should dynamically identify as committing user, or it should identify as the pipeline. It should not require the project to contain personal tokens in shared configs.
Actual behaviour
Isn't this the same as behaviour?
Configuration
The part that fails:
Logs
The text was updated successfully, but these errors were encountered: