macbre/push-to-ghcr

This action simplifies pushes of Docker images ot ghcr.io repository

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github_tokenYour secrets.GITHUB_TOKENyes
image_nameImage name, e.g. my-user-name/my-repo (will be lowercased)yes
dockerfileA path to the Dockerfile (if it's not in the repository's root directory)no./Dockerfile
contextA path to the context in which the build will happen, see https://docs.docker.com/engine/reference/commandline/build/no.
repositoryDocker repository to push an image to, defaults to ghcr.ioyesghcr.io
docker_io_userA username to use when pushing an image to docker.io (defaults to the github.actor)no
docker_io_tokenYour docker.io token created via https://hub.docker.com/settings/securityno
image_tagImage tag or tags, e.g. latest or "1.0.0,latest". Only tag names are accepted. Will overwrite the latest tag on a push, and have no effect on a release.no
build_argAdditional build argument to be passed to the Dockerfile (e.g. NODE_AUTH_TOKEN=s3cr3t)noFOO=bar
extra_argsAdditional arguments to be passed to "docker build".no""
platformsComma-separated list of target platforms for the build (e.g. linux/amd64,linux/arm64). When set, uses docker buildx for multi-platform builds and pushes directly to the registry.no""

no outputs