Skip to content

Commit 98f3feb

Browse files
committed
Adding simple cloudbuild file that builds and tags docker image
1 parent b52a0fd commit 98f3feb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Diff for: 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)