dacbd/GCR Build and Push
A Composite Action to simplify the tagging, building, and pushing of docker containers to GCR
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tags | Tags for the docker build defaults to latest, always tags with commit hash of the repo checkout. | no | latest |
| registry | registry domain, defaults to gcr.io | no | gcr.io |
| project-id | The project id for the gcp cloud env | yes | — |
| container-name | The name of the container to build (most likely the repo name) will be implied from repo name if not set. | no | — |
| GCR-key | GCP JSON key with the correct permissions e.x. secrets.GCP_credientials | yes | — |
Outputs
| name | description |
|---|---|
| image-name | Tag name for the commit hash the build was completed from |