Skip to content

Commit cbec8bc

Browse files
authored
Merge pull request #1 from almeta-io/dev
Adding cloudbuild simple template for Google Run
2 parents 1066c3a + 125e081 commit cbec8bc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cloudbuild.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
steps:
2+
- name: 'gcr.io/cloud-builders/docker'
3+
args: ['build', '--tag=gcr.io/${PROJECT_ID}/almeta-doccano:${BRANCH_NAME}', '.']
4+
- name: 'gcr.io/cloud-builders/docker'
5+
args: ["push", "gcr.io/${PROJECT_ID}/almeta-doccano:${BRANCH_NAME}"]
6+
- name: 'gcr.io/cloud-builders/gcloud'
7+
args: ['beta', 'run', 'deploy', 'almeta-doccano', '--image', 'gcr.io/${PROJECT_ID}/almeta-doccano:${BRANCH_NAME}', '--region', 'us-central1', '--memory', '2G', '--platform', 'managed', '--allow-unauthenticated']

0 commit comments

Comments
 (0)