openzim/Openzim Docker Publish Action

Build and publish Docker Images to both Docker Hub and ghcr.

View on GitHub

Trust Signals

Scorecard Score
Scorecard 2–4scored Jul 6, 2026
Maintenance Recency
Activelast commit Feb 13, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: openzim/docker-publish-action@64f383ddafdd61445f348b1ad61ae9a33a956702 # v10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
image-nametarget image path on both registries (ex. 'openzim/dnscache')yes
registrieslist of registries to push to (defaults to docker.io ghcr.io)noghcr.io
credentialslist of credentials for each registry. Ex. DOCKERIO_USERNAME=xxx DOCKERIO_TOKEN=yyy GHCRIO_USERNAME=xxxyes
contextfolder to use as context for the build (ex. '.' or 'dnscache')no.
dockerfileDockerfile path (relative to context) if not 'Dockerfile'noDockerfile
build-argsoptional key/value pairs to pass as build arguments. {tag} replaced with found version (if any)no
platformsspecify platform to build for (one of linux/amd64, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6, etc)nolinux/amd64
on-mastertag to use on master commits. (ex. 'latest' or 'dev') Leave out if not wantedno
tag-patternpattern to trigger image tagging (ex. 'dnscache-v*')no
latest-on-tagshould matched tag (or manual-tag) be tagged as 'latest' also? (true or false)nofalse
manual-tagSpecify the tag manually. Overrides on-master and tag-pattern.no""
restrict-torepository path to limit this action to (ex. 'openzim/zimfarm') to prevent forks from triggering it.no
webhookURL to request (POST) to after a sucessful push to registry•iesno""
repo_descriptionText to set as repository description on docker.io (100 chars max)no
repo_overviewText (markdown) to set as repository overview on docker.io (2.5MB max)no

no outputs