davidslusser/Build and Push Docker Image
Builds a Docker image and pushes it to a registry. Tags 'latest' only for semver releases.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Aug 17, 2025
- License
- MIT
Pinned Snippet
uses: davidslusser/actions_docker_github@51a2f510e103790dc0fcc88bd56893a6825ab87c # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| registry | Docker registry (e.g., ghcr.io) | yes | ghcr.io |
| image-name | Docker image name | yes | — |
| tag | Docker image tag | yes | — |
| context | Docker build context | no | . |
| dockerfile | Dockerfile path | no | Dockerfile |
| github-token | GitHub token for authentication | yes | — |
Outputs
| name | description |
|---|---|
| latest_tag | Full image:latest tag if applicable, empty otherwise |