Repository navigation
Description
Problem
The Docker Hub pages for both release images have no overview and no short description:
- https://hub.docker.com/r/decdn/decdn-node (356 pulls at time of filing)
- https://hub.docker.com/r/decdn/decdn
The Hub API confirms it: description is "" and full_description is null on both repositories. The README's Docker badge links to the decdn-node page, so the first thing a new operator sees from it is a blank page.
Cause
Nothing in the release path writes Hub repository metadata. sign-release.sh mirrors the signed GHCR manifests to Docker Hub with docker buildx imagetools create. That copies the manifest only. The OCI labels from docker/metadata-action (release.yml) show on GHCR. Docker Hub does not read them for the overview. RELEASING.md § Registry logins says the two Hub repositories "must exist first", but it gives no step to fill in their description.
Proposed fix
- Write a short overview per image: what it is (
decdn-node= daemon with thedecdnCLI fordocker execadmin;decdn= CLI only),docker pull/docker runquick start, the GHCR mirror and the digest-signature note fromRELEASING.md, and links to the README, the docs and thedevopsrepo for Compose/Helm. - Keep the text in this repo so it is reviewed like any other doc (for example
docker/README.decdn-node.mdanddocker/README.decdn.md), and push it to Hub in the release path. Options:- Add a step to
sign-release.shafter the Docker Hub mirror. It already runs with adocker login docker.iosession. It canPATCH /v2/repositories/<ns>/<repo>/withdescription(100 chars max) andfull_description. Gate it withDECDN_SKIP_DOCKERHUBlike the mirror. - Or a small workflow on
pushtomainfor those files withpeter-evans/dockerhub-description. This needs a new Docker Hub token as a repo secret, because CI holds no Hub credentials today.
- Add a step to
- Document the step in
RELEASING.md.
The short description and overview can also be set once by hand in the Hub UI as a stopgap.
Done when
- Both Hub pages show a short description and an overview.
- The overview text lives in the repo, and the release path (or a workflow) keeps Hub in sync with it.
Activity
docs(docker): push Docker Hub overviews for both images from the repo (…