Skip to content

Commit

Permalink
add a template for the cloudbuild to use inline
Browse files Browse the repository at this point in the history
  • Loading branch information
crysg committed Dec 19, 2024
1 parent 272add1 commit b800e9d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions template.cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
steps:
- name: "gcr.io/k8s-skaffold/pack"
id: "BUILD and PUSH with cloudpacks"
entrypoint: "pack"
args:
[
"build",
"--builder=gcr.io/buildpacks/builder",
"--publish",
"gcr.io/{PROJECT_NAME}/github.com/datakind/sst-app-ui:$COMMIT_SHA",
]
- name: "gcr.io/cloud-builders/gcloud"
id: "DEPLOY to cloud run"
entrypoint: gcloud
args:
[
"run",
"deploy",
"dev-frontend",
"--image",
"gcr.io/{PROJECT_NAME}/github.com/datakind/sst-app-ui:$COMMIT_SHA",
"--region",
"{REGION}",
]

0 comments on commit b800e9d

Please sign in to comment.