You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating manifest lists, don't use "*" as the permission when
creating the token handler. This causes problems with gitlab's repos.
Fixesdocker#1010
Signed-off-by: Christy Norman <[email protected]>
When creating manifest lists, don't use "*" as the permission when
creating the token handler. This causes problems with gitlab's repos.
Fixesdocker/cli#1010
Signed-off-by: Christy Norman <[email protected]>
Upstream-commit: c26e2264fb474f0662051ab563b3560d0b02b018
Component: cli
Hi everyone,
playing around with
docker manifest
on gitlab gives me some issues due to a bug(?) in the docker CLI.When trying to do a
docker manifest push
, it fails because gitlab allows*
actions only for site admins.Now I wonder whether the action
*
for those commands is intentional -shouldn't it be
push
and/orpull
(at least that's how I understand the docs)I think (not really sure) I tracked this problem down to the line linked below:
cli/cli/registry/client/endpoint.go
Line 105 in 8618838
The
*
action hardcoded in the last argument of the function call.If the
*
action is required/intentional, I will argue in the corresponding gitlab bug instead (since that means their permission model doesn't work).Thanks for any input on that issue.
The text was updated successfully, but these errors were encountered: