gcpug / nouhau

Google Cloud Platformのノウハウを共有するRepository
https://gcpug.jp
MIT License
653 stars 23 forks source link

Cloud BuildでCloud RunにDeployする #98

Open sinmetal opened 5 years ago

sinmetal commented 5 years ago

cloudbuild.yaml のサンプル

  - name: 'gcr.io/cloud-builders/gcloud'
    args: ['beta', 'run', 'deploy', '{GROUP}', '--region', 'us-central1', '--image', 'gcr.io/$PROJECT_ID/{ImageName}']

Cloud Buildで動かしているService Accountに必要なRole