optivem/Publish Docker Image
Builds Docker image and pushes to container registry with automatic tagging
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | Working directory where Dockerfile is located | no | . |
| image-name | Name of the Docker image (without registry prefix) | yes | — |
| registry | Container registry URL (e.g., ghcr.io, docker.io, gcr.io) | no | ghcr.io |
| registry-username | Username for registry authentication | no | ${{ github.actor }} |
| image-namespace | Namespace/organization for the image (e.g., github.repository for GHCR) | no | ${{ github.repository }} |
| commit-sha | Git commit SHA for image tagging | no | ${{ github.sha }} |
| image-latest-tag | Tag to apply for the latest image (single value, e.g., "latest") | no | latest |
| dockerfile | Path to Dockerfile relative to working directory | no | Dockerfile |
Outputs
| name | description |
|---|---|
| image-latest-url | Full URL of the pushed Docker image with latest tag |
| image-digest-url | Full URL with SHA256 digest of the pushed image |