Skip to content

Commit

Permalink
Merge branch 'release/0.1.6.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiOnishi1129 committed Jun 10, 2024
2 parents 6aa11eb + d604819 commit 0357f11
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions web/client/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
substitutions:
_IMAGE: "web-client-application/latest"
_SERVICE_NAME: "web-client-application"
steps:
# Build the container image
- name: "gcr.io/cloud-builders/docker"
args:
[
"build",
"-t",
"$_REGION-docker.pkg.dev/$PROJECT_ID/$_IMAGE",
"-f",
"web/client/Dockerfile",
".",
]
# Push the container image to Artifact Registry
- name: "gcr.io/cloud-builders/docker"
args: ["push", "$_REGION-docker.pkg.dev/$PROJECT_ID/$_IMAGE"]
# Deploy container image to Cloud Run
- name: "gcr.io/google.com/cloudsdktool/cloud-sdk"
entrypoint: gcloud
args:
[
"run",
"deploy",
"$_SERVICE_NAME",
"--image",
"$_REGION-docker.pkg.dev/$PROJECT_ID/$_IMAGE",
"--region",
"$_REGION",
]
images:
- $_REGION-docker.pkg.dev/$PROJECT_ID/$_IMAGE

0 comments on commit 0357f11

Please sign in to comment.