Only upload logos to library/

logos upload is not currently available on our arch-specifc namespaces
This commit is contained in:
Joseph Ferguson 2023-09-29 09:45:18 -07:00
parent 2c21d2df50
commit b6ba610419
1 changed files with 2 additions and 1 deletions

View File

@ -175,7 +175,8 @@ while (my $repo = shift) { # 'library/hylang', 'tianon/perl', etc
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
my $repoLogo120 = $repoName . '/logo-120.png';
if (!-f $repoLogo120) {