steps:- name: 'gcr.io/cloud-builders/docker_go' args: [ 'build', '-f', 'Dockerfile', '-t', 'gcr.io/[PROJECT_ID]/go-clock-20200129:$_ENV-$SHORT_SHA', '.' ]- name: 'gcr.io/cloud-builders/docker_go' id: 'go-clock-build'- name: 'gcr.io/cloud-builders/gcloud' args: ['beta', 'run', 'deploy', 'godocker', '--image', 'gcr.io/[PROJECT_ID]/go_docker_20200129:$_ENV-$SHORT_SHA', '--region','asia-northeast1', '--platform', 'managed', '--allow-unauthenticated']
...
...
PUSHf9d24a121577: Preparingf9d24a121577: Preparinga1a384955b64: Preparing03901b4a2ea8: Preparing03901b4a2ea8: Layer already existsf9d24a121577: Pusheda1a384955b64: Pushed57e9763: digest: sha256:c1c9bd2eXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxa size: 1160DONE
------------------------------------------------------------------------------------------------------- REMOTE BUILD OUTPUT -------------------------------------------------------------------------------------------------------starting build "3f9e2210-c33f-48ac-975b-6e93da778a7b"
FETCHSOURCEFetching storage object: gs://[PROJECT_ID]_cloudbuild/source/1581642916.48-b3ae564f54e44493ac3d6196b2bcdfc9.tgz#1581642917512267Copying gs://[PROJECT_ID]_cloudbuild/source/1581642916.48-b3ae564f54e44493ac3d6196b2bcdfc9.tgz#1581642917512267.../ [1 files][ 393.0 B/ 393.0 B] Operation completed over 1 objects/393.0 B. BUILDAlready have image (with digest): gcr.io/cloud-builders/gcloudDeploying container to Cloud Run service [gogogo] in project [PROJECT_ID] region [asia-northeast1]Deploying...Setting IAM Policy.....................................doneCreating Revision........................................................................................................................................................................................................................................................doneRouting traffic.....doneDone.Service [gogogo] revision [gogogo-00003-bav] has been deployed and is serving 100 percent of traffic at https://XXXXXX-jocpwhyidq-an.a.run.appPUSHDONE-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ID CREATE_TIME DURATION SOURCE IMAGES STATUS3f9e2210-c33f-48ac-975b-6e93da778a7b 2020-02-14T01:15:17+00:00 42S gs://[PROJECT_ID]_cloudbuild/source/1581642916.48-b3ae564f54e44493ac3d6196b2bcdfc9.tgz - SUCCESS
Hello Shin,
I’ve found a document here, which may help you. You’ll find how to build and deploy. I don’t see anything extraordinary in the example you provided but if you follow the steps I gave you and get stuck at a point, I could offer more specific advice.
Hello Shin,
I’ve found a document here, which may help you. You’ll find how to build and deploy. I don’t see anything extraordinary in the example you provided but if you follow the steps I gave you and get stuck at a point, I could offer more specific advice.
--
You received this message because you are subscribed to a topic in the Google Groups "Google Cloud Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-cloud-dev/r3MLmcZq2Uc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-cloud-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-dev/5fe374a9-08fe-46ab-b8fc-4d5dd211ab88%40googlegroups.com.
$ diff -u _cloudbuild.yaml cloudbuild.yaml --- _cloudbuild.yaml 2020-02-14 06:05:25.266852760 +0000+++ cloudbuild.yaml 2020-02-19 01:26:40.874445501 +0000@@ -13,6 +13,6 @@ args: ['beta', 'run', 'services', 'add-iam-policy-binding', '${_SERVICE_NAME}', '--region', '${_REGION}', '--member', 'allUsers', '--role', 'roles/run.invoker'] substitutions: _REGION: us-central1- _SERVICE_NAME: go_docker_20200129+ _SERVICE_NAME: go-docker-20200129 images:
Hello Elliott-sanThank you for your reply and document. I'll check it and try. If anything goes wrong, I'll let you know.shin
2020年2月18日(火) 7:36 'Elliott (Google Cloud Platform Support)' via Google Cloud Developers <google-cloud-dev@googlegroups.com>:
--Hello Shin,
I’ve found a document here, which may help you. You’ll find how to build and deploy. I don’t see anything extraordinary in the example you provided but if you follow the steps I gave you and get stuck at a point, I could offer more specific advice.
You received this message because you are subscribed to a topic in the Google Groups "Google Cloud Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-cloud-dev/r3MLmcZq2Uc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-cloud-dev+unsubscribe@googlegroups.com.