Google Cloud Run Automation Follow
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 gcr.io/PROJECT-ID/helloworld
2. Deploys the image to the bucket
gcloud run deploy --image gcr.io/PROJECT-ID/helloworld --platform managed
Source: https://cloud.google.com/run/docs/quickstarts/build-and-deploy#node.js
Please sign in to leave a comment.