getsentry/Build and Push Container Images
Builds images on PRs and builds/pushes to registries on default branch and merge queues
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| image_name | Base image name (e.g., myorg/myapp) | yes | — |
| dockerfile_path | Path to Dockerfile | no | ./Dockerfile |
| build_context | Build context directory | no | . |
| build_target | Docker build target stage | no | "" |
| build_args | Docker build arguments (multiline) | no | "" |
| release_branches | List of release branch names, separated by commas | no | release,releases |
| ghcr | Enable GitHub Container Registry | no | true |
| ghcr_image_name | GHCR image name (defaults to ghcr.io/{owner}/{image_name}) | no | "" |
| publish_on_pr | Publish images on pull requests (SHA tags only) | no | false |
| google_ar | Enable Google Artifact Registry | no | false |
| google_ar_image_name | Google Artifact Registry image name | no | "" |
| tags | Additional tags to apply to the image | no | "" |
| tag_prefix | Tag prefix | no | "" |
| tag_suffix | Tag suffix | no | "" |
| google_workload_identity_provider | Google Workload Identity Provider | no | "" |
| google_service_account | Google Service Account | no | "" |
| platforms | platforms to build (e.g., linux/amd64, linux/arm64) | no | linux/amd64 |
| outputs | List of output destinations (e.g., type=docker, type=image,name=myimage) | no | "" |
| tag_latest | Tag latest | no | true |
| tag_nightly | Tag nightly | no | true |
Outputs
| name | description |
|---|---|
| ghcr_image_url | Full GHCR image URL with primary tag (e.g., ghcr.io/owner/repo:sha-abc123) |
| gar_image_url | Full GAR image URL with primary tag |