Repository navigation
Add OCI labels, Docker Hub pages from the repo, and a LICENSE - #104
Merged
Merged
Conversation
Labels: every pushed image gets org.opencontainers.image.source, revision, version, title and description, so Renovate, Dependabot and scanners can link an image back to its commit. The ZoneMinder images also get url, documentation and licenses. There's no created timestamp, because it would give the daily rebuild a new digest every day even when nothing changed. Docker Hub: dockerhub/*.md holds the overview of zoneminder/zoneminder, zoneminderhq/zoneminder (marked as a mirror, with the 2021 tags flagged as unmaintained) and zoneminder/pyzm-serve. The new dockerhub-description workflow publishes them with peter-evans/dockerhub-description on changes to master. It's separate from images.yml, so a token that can't edit descriptions can't block image pushes. LICENSE: GPL-2.0-or-later, ZoneMinder's own COPYING text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SteveGilvarry
force-pushed
the
dockerhub-pages
branch
from
October 24, 2026 10:08
62de07b to
08854cf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Three related fixes for how the images look from outside: on Docker Hub, to update tools, and to anyone asking what license they're under.
Docker Hub pages
Right now
zoneminderhq/zoneminder(about 1M pulls, the repo people find) still shows the 2021 README. That page hasdocker runcommands forlatest-el7andlatest-ubuntu18.04and two dead links.zoneminder/zoneminderandzoneminder/pyzm-servehave no overview, and none of the three repos has a short description.dockerhub/zoneminder.md,dockerhub/zoneminderhq.mdanddockerhub/pyzm-serve.mdare the new overviews. The quick start downloads the compose file and.env.example, so it works without cloning the repo. The zoneminderhq page says it's a mirror and marks the 2021 tags as old and unmaintained..github/workflows/dockerhub-description.ymlpublishes them withpeter-evans/dockerhub-description@v4wheneverdockerhub/**changes on master, or when started by hand.Token: Docker Hub's description API needs a personal access token with Read, Write, Delete scope. Organisation access tokens and push-only tokens get refused. If the current
DOCKERHUB_TOKENcan't do it, only this workflow fails, because it's separate fromimages.yml, so image pushes keep working. Either way it runs once on merge, which shows whether the token works.The pages list the
dev/dev-estags, which exist once #103 lands and the nightly push runs.OCI labels
Every pushed image (zm, zm-es, pyzm-serve CPU and CUDA) now carries
org.opencontainers.image.source,revision,version,titleanddescription. The ZoneMinder images also geturl,documentationandlicenses. Withsourceset, Renovate and Dependabot PRs for people who pin a version link to the release notes, anddocker inspectshows which ZoneMinder version and repo commit an image came from.createdtimestamp. It would give the daily rebuild a new digest every day even when nothing changed, and Watchtower users would pull a "new" image daily.licenseslabel on pyzm-serve. PyPI lists pyzm only as "GPL", and the YOLO weights it downloads are AGPL-3.0, so one SPDX value would claim more than we know.LICENSE
The repo had none. I've used GPL-2.0-or-later (ZoneMinder's own COPYING text) to match ZoneMinder, and the README notes that the images also contain software under other licenses. This needs a maintainer to confirm. If the Dockerfiles should be under something else, I'll change the file and the label.
Testing
docker inspect.🤖 Generated with Claude Code