Skip to content

Commit

Permalink
Merge pull request #1 from asahasrabuddhe/auto-deploy-to-cloud-run
Browse files Browse the repository at this point in the history
update cloud run through ci
  • Loading branch information
asahasrabuddhe committed Dec 9, 2019
2 parents 1a0c59b + 3a6612d commit a6f80ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cloudbuild.yaml
Expand Up @@ -7,4 +7,7 @@ steps:
entrypoint: sh
args: ['-c', 'docker build -t us.gcr.io/apibin/apibin:$(cat /workspace/_TAG) -t us.gcr.io/apibin/apibin:latest .']

- name: 'gcr.io/cloud-builders/gcloud'
args: ['beta', 'run', 'deploy', 'apibin', '--image', 'gcr.io/apibin/apibin', '--region', 'us-central1', '--platform', 'managed', '--allow-unauthenticated']

images: ['us.gcr.io/apibin/apibin']

0 comments on commit a6f80ee

Please sign in to comment.