Skip to content

Commit

Permalink
Merge pull request #2374 from infosiftr/only-library
Browse files Browse the repository at this point in the history
Only upload logos to `library/`
  • Loading branch information
yosifkit authored Sep 29, 2023
2 parents 6ddf245 + b6ba610 commit 9699645
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion push.pl
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ sub prompt_for_edit {

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) {
Expand Down

0 comments on commit 9699645

Please sign in to comment.