Commit 3ecbb241 authored by Jö Fahlke's avatar Jö Fahlke

[!12] Workaround an insufficient auth scope requested by gitlab registry.

Merge branch 'fix/workaround-gitlab-insufficient-auth-scope' into 'master'

ref:joe/registry-cli When deleting tags from gitlab registry, the registry
requests a bearer token with scope "registry:{PROJECT}:delete". However, the
auth server refuses to hand out tokens with ":delete".

This adds an option \--gitlab-auth-scope-fix that instructs registry-cli to
turn a request for ":delete" tokens into a request for ":*" tokens.

Addresses: [joe/schedules#2]

See merge request [!12]

  [joe/schedules#2]: gitlab.dune-project.org/joe/schedules/issues/2
  [!12]: gitlab.dune-project.org/joe/registry-cli/merge_requests/12
parents 09ac6420 4034ca53
Pipeline #20429 passed with stages
in 1 minute and 52 seconds