Browse Source

Attempting Google Run

pull/388/head
callingmybluff 5 years ago
parent
commit
125e081fd8
1 changed files with 7 additions and 0 deletions
  1. 7
      cloudbuild.yaml

7
cloudbuild.yaml

@ -0,0 +1,7 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '--tag=gcr.io/${PROJECT_ID}/almeta-doccano:${BRANCH_NAME}', '.']
- name: 'gcr.io/cloud-builders/docker'
args: ["push", "gcr.io/${PROJECT_ID}/almeta-doccano:${BRANCH_NAME}"]
- name: 'gcr.io/cloud-builders/gcloud'
args: ['beta', 'run', 'deploy', 'almeta-doccano', '--image', 'gcr.io/${PROJECT_ID}/almeta-doccano:${BRANCH_NAME}', '--region', 'us-central1', '--memory', '2G', '--platform', 'managed', '--allow-unauthenticated']
Loading…
Cancel
Save