ebomart/Build and push image
Builds and pushes an image to a registry
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Aug 4, 2025
- License
- None
Pinned Snippet
uses: ebomart/build-publish-docker-artifact@bf39b4e86570115fda8213cd12508fbca9e9191e # no releases — HEAD as of 2026-07-11tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| file | Docker file | yes | — |
| registry_host | Image registry host e.g. us.gcr.io | yes | — |
| gke_project | Name of gke project | yes | — |
| repository | Name of the artifact repository | yes | — |
| image_name | Name of image | yes | — |
| sha | Image tag | yes | — |
| google_private_key | Key to connect to Google cloud | yes | — |
| registry_username | Registry username | no | — |
| registry_password | Registry password | no | — |
| docker_build_args | Docker build arguments | no | "" |
| npm_token | Environment variable | no | "" |
Outputs
| name | description |
|---|---|
| container_image_exists | Check if image exists in GCR registry |