Don't deploy when building cloud run server
@@ -15,22 +15,8 @@ steps:
# Push the container image to Container Registry
- name: 'gcr.io/cloud-builders/docker'
args: ['push', 'gcr.io/$PROJECT_ID/${_SERVICE_NAME}:${_VERSION}']
-# Deploy container image to Cloud Run
-- name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
- entrypoint: gcloud
- args:
- - 'run'
- - 'deploy'
- - '${_SERVICE_NAME}'
- - '--image'
- - 'gcr.io/$PROJECT_ID/${_SERVICE_NAME}:${_VERSION}'
- - '--region'
- - '${_REGION}'
- - '--platform'
- - 'managed'
substitutions:
_SERVICE_NAME: "authserver-dev" # default value
_VERSION: "test-deployment" # default value
- _REGION: "us-central1"
images:
- 'gcr.io/$PROJECT_ID/${_SERVICE_NAME}:${_VERSION}'
\ No newline at end of file
