Skip to content

Commit e23aab7

Browse files
authored
Merge pull request #94 from kfswain/cloudbuild
Adding simple cloudbuild file that builds, tags, and pushes the docker image
2 parents 28e8383 + 98f3feb commit e23aab7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

cloudbuild.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
steps:
2+
- name: gcr.io/cloud-builders/docker
3+
args:
4+
- build
5+
- --tag=us-central1-docker.pkg.dev/k8s-staging-images/llm-instance-gateway:$_GIT_TAG
6+
- .
7+
substitutions:
8+
_GIT_TAG: '12345'
9+
# this prevents errors if you don't use both _GIT_TAG
10+
# or any new substitutions added in the future.
11+
options:
12+
substitution_option: ALLOW_LOOSE
13+
# this will push these images, or cause the build to fail if they weren't built.
14+
images:
15+
- 'us-central1-docker.pkg.dev/k8s-staging-images/llm-instance-gateway:$_GIT_TAG'

0 commit comments

Comments
 (0)