diff --git a/.github/vale/Docker/Acronyms.yml b/.github/vale/Docker/Acronyms.yml index 85f7136c2e..5dd53743ac 100644 --- a/.github/vale/Docker/Acronyms.yml +++ b/.github/vale/Docker/Acronyms.yml @@ -5,7 +5,7 @@ level: warning ignorecase: false # Ensures that the existence of 'first' implies the existence of 'second'. first: '\b([A-Z]{3,5})\b' -second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)' +second: '(?:\b[A-Z][a-z]+(?: |\n))+\(([A-Z]{3,5})\)' # ... with the exception of these: exceptions: - API diff --git a/.github/vale/Vocab/Technology/accept.txt b/.github/vale/Vocab/Technology/accept.txt index b97433f09e..082df9686e 100644 --- a/.github/vale/Vocab/Technology/accept.txt +++ b/.github/vale/Vocab/Technology/accept.txt @@ -9,8 +9,10 @@ HTTP IPs? IPv[46] IPvlan +JPEG MAC RPM +PNG SDKs? SSO TCP @@ -28,6 +30,7 @@ deserialization deserialize filepath firewalld +filetype glibc goroutine hostname diff --git a/_data/toc.yaml b/_data/toc.yaml index c27f8537c9..89da03c6b9 100644 --- a/_data/toc.yaml +++ b/_data/toc.yaml @@ -1785,6 +1785,8 @@ manuals: title: Overview - path: /docker-hub/publish/insights-analytics/ title: Insights and analytics + - path: /docker-hub/publish/repository-logos/ + title: Repository logos - path: /docker-hub/publish/publisher-center-migration/ title: Migrate content from the Publisher Center - path: /docker-hub/release-notes/ diff --git a/docker-hub/publish/images/clear_logo_sm.png b/docker-hub/publish/images/clear_logo_sm.png new file mode 100644 index 0000000000..fcb53b7308 Binary files /dev/null and b/docker-hub/publish/images/clear_logo_sm.png differ diff --git a/docker-hub/publish/images/upload_logo_sm.png b/docker-hub/publish/images/upload_logo_sm.png new file mode 100644 index 0000000000..074c7c542d Binary files /dev/null and b/docker-hub/publish/images/upload_logo_sm.png differ diff --git a/docker-hub/publish/repository-logos.md b/docker-hub/publish/repository-logos.md new file mode 100644 index 0000000000..c5f53ed1d3 --- /dev/null +++ b/docker-hub/publish/repository-logos.md @@ -0,0 +1,35 @@ +--- +title: Repository logos +description: Override the organization logo on a per-repository basis +keywords: dvp, verified, publisher, repository, logo, icons +--- + +Docker Verified Publishers (DVP) and Docker Sponsored Open Source (DSOS) +organizations can upload custom images for individual repositories on Docker Hub. +This lets you override the default organization-level logo on a per-repository basis. + +Only a user with administrative access (owner or team member with Admin permission) +over the repository can change the repository logo. + +## Image requirements + +- The supported filetypes for the logo image are JPEG and PNG. +- The minimum allowed image size in pixels is 120×120 +- The maximum allowed image size in pixels is 1000×1000 +- The maximum allowed image file size is 5MB + +## Set the repository logo + +1. Sign in to Docker Hub. +2. Go to the page of the repository that you want to change the logo for. +3. Select the upload logo button, represented by a camera icon + (![Camera icon](./images/upload_logo_sm.png){: .inline height="22px" }) + overlaying the current repository logo. +4. In the dialog that opens, select the PNG image that you want to upload. +5. Select **Open** to upload the image and set it as the logo for the repository. + +## Remove the logo + +Remove a logo using the clear button (![Clear button](../images/clear_logo_sm.png){: .inline height="22px" }). + +Removing the logo makes the repository fallback to using the organization logo, if set.