Only upload logos to library/
logos upload is not currently available on our arch-specifc namespaces
This commit is contained in:
parent
2c21d2df50
commit
b6ba610419
3
push.pl
3
push.pl
|
|
@ -175,7 +175,8 @@ while (my $repo = shift) { # 'library/hylang', 'tianon/perl', etc
|
||||||
|
|
||||||
my $repoUrl = $dockerHub . '/v2/repositories/' . $repo . '/';
|
my $repoUrl = $dockerHub . '/v2/repositories/' . $repo . '/';
|
||||||
|
|
||||||
if ($logos) {
|
if ($logos && $repo =~ m{ ^ library/ }x) {
|
||||||
|
# only DOI ("library"), DSOS, or DVP orgs can include a logo which is displayed in the Hub UI
|
||||||
# if we have a logo file, let's update that metadata first
|
# if we have a logo file, let's update that metadata first
|
||||||
my $repoLogo120 = $repoName . '/logo-120.png';
|
my $repoLogo120 = $repoName . '/logo-120.png';
|
||||||
if (!-f $repoLogo120) {
|
if (!-f $repoLogo120) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue