We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25526b2 commit c09ac36Copy full SHA for c09ac36
cloudbuild.yaml
@@ -0,0 +1,9 @@
1
+steps:
2
+ - name: 'gcr.io/cloud-builders/docker'
3
+ args: ['build', '-t', 'compile', '-f', 'Dockerfile.compile', '.']
4
5
+ args: ['build', '-t', 'gcr.io/$PROJECT_ID/hexo-gcloud', '.']
6
7
+ args: ['push', 'gcr.io/$PROJECT_ID/hexo-gcloud']
8
+ - name: 'gcr.io/cloud-builders/gcloud'
9
+ args: ['run', 'deploy', 'hexo-gcloud-service', '--image', 'gcr.io/$PROJECT_ID/hexo-gcloud', '--region', 'asia-east1', '--platform', 'managed', '--allow-unauthenticated', '--port', '80']
0 commit comments