Docker-Registry
view release on metacpan or search on metacpan
0.08 2020-12-22
- Support for GitLab repositories call (PR #18, waterkip)
0.07 2020-03-10
- Implement result pagination for all calls (osoriano)
- use Test::Lib in tests (waterkip)
0.06 2018-11-05
- GCE receives a new attribute "region" to select the region where the registry
is hosted.
- New Azure Container Registry provider (ACR). Can authenticate with admin credentials
or Azure AD credentials.
- Don't follow redirections. Some Container Registries return 30X responses that lead
to random HTML (so the response processor was not making anything out of these responses)
- Internal refactor
- using Moo and Types::Standard instead of Moose
- pass the scope to the signature method in auth modules
0.05 2018-06-04
- Require Import::Into 1.002003 to avoid some installation failures on
some systems http://matrix.cpantesters.org/?dist=Docker-Registry+0.04 (waterkip)
examples/gce_sa_explicit.pl view on Meta::CPAN
use strict;
use warnings;
use Data::Dumper;
use Docker::Registry::GCE;
use Docker::Registry::Auth::GCEServiceAccount;
my $ce = $ENV{ CLIENT_EMAIL } // die "Please set ENV CLIENT_EMAIL";
my $pk = $ENV{ PRIVATE_KEY } // die "Please set ENV PRIVATE_KEY";
#passing a repo is because sometimes your credentials don't let you list
#the repositories, but you can see the tags of a repo if you know its name
my $repo = $ARGV[0];
my $sa = Docker::Registry::Auth::GCEServiceAccount->new(
client_email => $ce,
private_key => $pk,
);
my $r = Docker::Registry::GCE->new(
auth => $sa,
examples/gce_serviceaccount.pl view on Meta::CPAN
#!/usr/bin/env perl
use strict;
use warnings;
use Data::Dumper;
use Docker::Registry::GCE;
use Docker::Registry::Auth::GCEServiceAccount;
#passing a repo is because sometimes your credentials don't let you list
#the repositories, but you can see the tags of a repo if you know its name
my $repo = $ARGV[0];
my $sa = Docker::Registry::Auth::GCEServiceAccount->new();
my $r = Docker::Registry::GCE->new(
auth => $sa,
);
#$r->caller->debug(1);
( run in 0.430 second using v1.01-cache-2.11-cpan-4d50c553e7e )