Sfoglia il codice sorgente

Only upload logos to library/

logos upload is not currently available on our arch-specifc namespaces
Joseph Ferguson 2 anni fa
parent
commit
b6ba610419
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      push.pl

+ 2 - 1
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) {