1steps:2# Docker Build 3-name:'gcr.io/cloud-builders/docker'4args:5-'build'6-'-t'7-'${_REGION}-docker.pkg.dev/${PROJECT_ID}/content-api/content-api:${_IMAGE_TAG}'89# Default to us-central110substitutions:11_REGION: us-central1
12_IMAGE_TAG: $SHORT_SHA
1314# Store in Artifact Registry15images:16-'${_REGION}-docker.pkg.dev/${PROJECT_ID}/content-api/content-api:${_IMAGE_TAG}'
1steps:2# Print the full Pub/Sub message for debugging.3-name: gcr.io/cloud-builders/gcloud
4entrypoint: /bin/bash
5args:6-'-c'7-|8 echo ${_BODY}9# Cloud Run Deploy10-name: gcr.io/cloud-builders/gcloud
11args:12- run
13- deploy
14- ${_SERVICE}15---image=${_IMAGE_NAME}16---region=${_REGION}17---revision-suffix=${_REVISION}18---project=${_TARGET_PROJECT}19---allow-unauthenticated