afreisinger/Docker Build and Push Multi-Platform and Registry

Builds and pushes a Docker image to Docker Hub and GitHub Container Registry

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Apr 30, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: afreisinger/build-push-action@bf41449c646cca93867670682fe5a903bf57d194 # v1.6.0

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

namedescriptionrequireddefault
docker-usernameDocker Hub usernameyes
docker-patDocker Hub personal access tokenyes
image-nameDocker image nameyes
github-tokenGitHub token for GHCRyes${{ github.token }}
log-levelLog level for buildnodebug
authorsImage authorsno
licensesImage licensesno
vendorImage vendorno
maintainersImage maintainersno
descriptionImage descriptionno
publish-dockerhubWhether to publish to Docker Hubnotrue
publish-ghcrWhether to publish to GitHub Container Registrynofalse
env-filePath to optional .env fileno.env
namedescription
tagsDocker image tags
labelsDocker image labels