gcp cloud build getting started
In this tutorial we are going to use google cloud build to build an image and then deploy to cloud run. lets create a project and add the following files in there cloudbuild.yaml In cloud build, every name used is a docker image step and argument are the command that we would like to run on that steps. In this case, we are using docker image to do a docker build, then we are pushing it to artefact registry using docker image too and finally we deploy our image using cloud-sdk image. steps : # 1. Build the container image - name : 'gcr.io/cloud-builders/docker' args : [ 'build' , '-t' , 'us-west2-docker.pkg.dev/project-xxxx/quickstart-docker-repo/hello-world-image:${_TAG}' , '.' ] # 2. Push it to Artifact Registry - name : 'gcr.io/cloud-builders/docker' args : [ 'push' , 'us-west2-docker.pkg.dev/project-xxxxx/quickstart-docker-repo/hello-world-image:${_TAG}' ] # 3. Deploy to Cloud Run - name : 'gcr...