-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
manifest list: request specific permissions #1024
Conversation
When creating manifest lists, don't use "*" as the permission when creating the token handler. This causes problems with gitlab's repos. Fixes docker#1010 Signed-off-by: Christy Norman <[email protected]>
I hope this is the super simple solution here. I tried another way to do it, but you need push and pull perm for the push, so, it seems like this is easiest/best. @vdemeester is there a way to download the build artifacts for @jesusofsuburbia to test? I can't find it where I think it should be. |
@clnperez yeah, it's a bit tricky to get but it's possible to get them from the articfacts in the circleci build (somehow the tab doesn't show when not logged but is accessible) : https://circleci.com/gh/docker/cli/11565#artifacts/containers/0 |
@jesusofsuburbia can you try that one out? you can just chmod+x and run it instead of the docker installed on your system. If you expand the build section in the link from the previous comment, you can find binaries for all the platforms docker supports. |
@clnperez will do so today or tomorrow, thanks so far! |
@clnperez it works! I tested it multiple times...
thank you so much |
thank you for reporting :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks for reviewing 👍 merging |
When creating manifest lists, don't use "*" as the permission when
creating the token handler. This causes problems with gitlab's repos.
Fixes #1010
Signed-off-by: Christy Norman [email protected]
- What I did
- How I did it
- How to verify it
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)