From b6ba610419d05794a1add2e3266a3e82f947a15c Mon Sep 17 00:00:00 2001 From: Joseph Ferguson Date: Fri, 29 Sep 2023 09:45:18 -0700 Subject: [PATCH] Only upload logos to library/ logos upload is not currently available on our arch-specifc namespaces --- push.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/push.pl b/push.pl index e3282370f..4467a332b 100755 --- a/push.pl +++ b/push.pl @@ -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) {