swarm-io/Build and Push image
Builds an image, pushes to artifact registry, and caches to gha as well as the `cache` tag. Specifically designed to work with artifact registry. To build without caching, include `no-cache` in the commit mesage.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| credentials-json | gcloud service account credentials json | yes | — |
| project-id | gcloud project id | yes | — |
| region | artifact registry region | no | us-west1 |
| repository | artifact registry repository | no | images |
| secrets | docker build secrets. key=value pairs separated by newlines. See [docker build push action secrets configuration](https://github.com/docker/build-push-action/blob/master/docs/advanced/secrets.md) for details | no | "" |
| tag-name | tag name, excluding tag version, such as `myapp` | no | ${{ github.event.repository.name }} |
| tag-versions | git tags to push, comma separated string such as `latest,v1.0.0` | no | latest,${{ github.event.release.tag_name }} |
| cache-tag-version | git tag version to use for the registry cache | no | cache |
Outputs
no outputs