actions-marketplace-validations/Update a GCR image based on new file changes
Authenticate with gcloud, build (using previous build if it can), and push image to GCR
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| check_if_changed | Checks if working_directory has changed since the previous commit | no | true |
| working_directory | Directory we want to perform the build on | no | . |
| dockerfile | Path to the dockerfile | no | Dockerfile |
| registry | GCP Registry (e.g. 'gcr.io') | no | gcr.io |
| project | GCP project name | yes | — |
| image | Image name. Defaults to repo name if not provided (without github username) | no | — |
| image_tag | Image tag. Image will also be tagged with commit sha | no | latest |
| build_args | Pass a list of env vars as build-args for docker-build, separated by commas | no | — |
| service_key | Your GCP service key with storage admin permission in json format | yes | — |
Outputs
no outputs