YAML examples for Google Cloud Run
Deploy to Google Cloud Run
yaml
- action: "Deploy to Cloud Run"
type: "GOOGLE_CLOUD_RUN_DEPLOY"
integration: "my_integration"
application_name: "my-gcp-project"
service: "my-service"
image: "gcr.io/my-gcp-project/my-image:latest"
platform: "MANAGED"
region: "us-central1"
arguments: "--allow-unauthenticated --memory 512Mi"
config_path: "service.yaml"
Simple Cloud Run deployment
yaml
- action: "Deploy to Cloud Run"
type: "GOOGLE_CLOUD_RUN_DEPLOY"
integration: "gcp_integration"
application_name: "my-gcp-project"
service: "my-service"
image: "gcr.io/project/image:tag"
platform: "MANAGED"
region: "us-central1"
Deploy to Cloud Run for Anthos on GKE
yaml
- action: "Deploy to Cloud Run on GKE"
type: "GOOGLE_CLOUD_RUN_DEPLOY"
integration: "gcp_integration"
application_name: "my-gcp-project"
service: "my-service"
image: "gcr.io/my-gcp-project/my-image:latest"
platform: "GKE"
cluster: "my-gke-cluster"
cluster_location: "europe-west1-b"
Deploy to Knative on a Kubernetes cluster
yaml
- action: "Deploy to Knative"
type: "GOOGLE_CLOUD_RUN_DEPLOY"
integration: "gcp_integration"
application_name: "my-gcp-project"
service: "my-service"
image: "gcr.io/my-gcp-project/my-image:latest"
platform: "KUBERNETES"
context: "my-cluster-context"