| image | Name of the container image to deploy (e.g. gcr.io/cloudrun/hello:latest).
Required if not using a service YAML. | no | — |
| service | ID of the service or fully qualified identifier for the service.
Required if not using a service YAML. | no | — |
| region | Region in which the resource can be found. | no | us-central1 |
| env_vars | List of key-value pairs to set as environment variables in the format:
KEY1=VALUE1,KEY2=VALUE2. Existing environment variables will be retained. | no | — |
| secrets | List of key-value pairs to set as either environment variables or mounted
volumes in the format:
KEY1=secret-key-1:latest,/secrets/api/key=secret-key-2:latest. Existing
secrets will be retained. | no | — |
| metadata | YAML service description for the Cloud Run service. | no | — |
| project_id | The GCP project ID. Overrides project ID set by credentials. | no | — |
| credentials | Service account key to use for authentication. This should be the JSON
formatted private key which can be exported from the Cloud Console. The
value can be raw or base64-encoded. Required if not using a the
setup-gcloud action with exported credentials. | no | — |
| source | The location of the source to build. The location can be a directory on
a local disk or a gzipped archive file (.tar.gz) in Google Cloud Storage.
The role `Cloud Build Service Account` is required. | no | — |
| suffix | Specify the suffix of the revision name. Revision names always start with
the service name automatically. For example, specifying 'v1' for a service
named 'helloworld', would lead to a revision named 'helloworld-v1'. | no | — |
| tag | Traffic tag to assign to the newly created revision. | no | — |
| no_traffic | True to avoid sending traffic to the revision being deployed. Setting
this flag assigns any traffic assigned to the LATEST revision to the
specific revision bound to LATEST before the deployment. The effect is
that the revision being deployed will not receive traffic. After a
deployment with this flag the LATEST revision will not receive traffic
on future deployments. | no | — |
| revision_traffic | Comma separated list of traffic assignments in the form REVISION-NAME=PERCENTAGE.
REVISION-NAME must be the name for a revision for the service as returned
by 'gcloud beta run list revisions'. PERCENTAGE must be an integer
percentage between 0 and 100 inclusive.
Ex service-nw9hs=10,service-nw9hs=20 Up to 100 percent of traffic may be
assigned. If 100 percent of traffic is assigned, the Service traffic is
updated as specified. If under 100 percent of traffic is assigned, the
Service traffic is updated as specified for revisions with assignments and
traffic is scaled up or down down proportionally as needed for revision
that are currently serving traffic but that do not have new assignments. | no | — |
| tag_traffic | Comma separated list of traffic assignments in the form TAG=PERCENTAGE.
TAG must match a traffic tag on a revision of the service. PERCENTAGE must
be an integer percentage between 0 and 100 inclusive. Up to 100 percent of
traffic may be assigned. If 100 percent of traffic is assigned, the service
traffic is updated as specified. If under 100 percent of traffic is
assigned, the service traffic is updated as specified to the given tags,
and other traffic is scaled up or down proportionally. | no | — |
| flags | Space separated list of other Cloud Run flags, examples can be found:
https://cloud.google.com/sdk/gcloud/reference/run/deploy#FLAGS. Ex
--service-account=my-account@project.iam.gserviceaccount.com --concurrency=10 | no | — |
| gcloud_version | Version of the Cloud SDK to install. If unspecified or set to "latest",
the latest available gcloud SDK version for the target platform will be
installed. Example: "290.0.1". | no | — |