- SEE ALSO
Connect and do things with the gitlab registry
use Docker::Registry::Gitlab; my $registry = Docker::Registry::Gitlab->new( username => 'foo', access_token => 'bar', # your private token at gitlab );
The endpoint of the registry, defaults to 'https://registry.gitlab.com'.
Your username at gitlab
The access token you get from gitlab with 'read_registry' access.
The repository you want to query.
The endpoint to request the JWT token from, if none supplied the default of Docker::Registry::Auth::Gitlab will be used.
Unimplemented code path unless GITLAB_SCOPE is set as an environment variable.
Because Gitlab doesn't support wild cards in scopes (yet!), you are not able to call certain functions. "repositories" in Docker::Registry::Gitlab being one of them. For more information see: https://gitlab.com/gitlab-org/gitlab-ce/issues/47497