discue/GCP Build Image
Build and push container images to Google Cloud using Cloud Build
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| image | The full image URL to build (e.g., europe-west3-docker.pkg.dev/project/repository/image) | yes | — |
| region | Google Cloud region to use for the build (e.g., europe-west3). If not set, defaults to the gcloud default region. | no | — |
| impersonate | Service account email to impersonate for to submit the gcloud build. If not set, uses the default credentials. | no | — |
| build_service_account | Service account email to use for the Cloud Build execution. If not set, uses the default Cloud Build service account. | no | — |
| quiet | Run in quiet mode. Suppress all non-error output. Default is true. | no | true |
| source | Source directory to build (relative to the repository root). Default is the repository root. | no | . |
| builder | Build method: '' (default for autodetection), 'buildpack' or 'dockerfile' | no | "" |
| staging_bucket_name | Cloud Storage bucket name to use for staging (without gs:// or path). If empty, defaults to GCP default e.g. $project_$region_cloudbuild. | no | "" |
| staging_bucket_dir | Directory within the Cloud Storage bucket to use for staging. Defaults to 'builds'. | no | builds |
Outputs
| name | description |
|---|---|
| image-url | The built image URL |