Google Cloud Run Automation

Hi out there!

I'm trying to build a CI/CD pipeline from JetBrains Space to Google Cloud Platform. 

Basically I just need to build and then deploy a Docker image, but I am totally lost in the specifics of the *.kts DSL (I'm coming from YAML-based GitHub Actions).

Could you please provide me with some guidance on how to wrap up two commands and set the pipeline up?

When deploying manually from my machine I simply use these two commands one right after another and it's done:

1. Builds an image and submits to Google Cloud Docker Registry

gcloud builds submit --tag

2. Deploys the image to the bucket

gcloud run deploy --image --platform managed


Please sign in to leave a comment.