DESCRIPTION

Connect and do things with the gitlab registry

SYNOPSIS

use Docker::Registry::Gitlab;
my $registry = Docker::Registry::Gitlab->new(
    username => 'foo',
    access_token => 'bar', # your private token at gitlab
);

ATTRIBUTES

url

The endpoint of the registry, defaults to 'https://registry.gitlab.com'.

username

Your username at gitlab

access_token

The access token you get from gitlab with 'read_registry' access.

repo

The repository you want to query.

jwt

The endpoint to request the JWT token from, if none supplied the default of Docker::Registry::Auth::Gitlab will be used.

METHODS

repositories

Unimplemented code path unless GITLAB_SCOPE is set as an environment variable.

BUGS

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

SEE ALSO

Docker::Registry::Auth::Gitlab and Docker::Registry::V2.