Skip to content

Commit 8e3cb3e

Browse files
committed
Add the CloudBuild config to build images.
1 parent 629f3ba commit 8e3cb3e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

cloudbuild.yaml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
steps:
2+
- name: gcr.io/cloud-builders/docker
3+
args:
4+
- build
5+
- --tag=gcr.io/$PROJECT_ID/kernel-module-management-operator:$_GIT_TAG
6+
- --tag=gcr.io/$PROJECT_ID/kernel-module-management-operator:latest
7+
- .
8+
# this prevents errors if you don't use both _GIT_TAG and _PULL_BASE_REF,
9+
# or any new substitutions added in the future.
10+
options:
11+
substitution_option: ALLOW_LOOSE
12+
images:
13+
- gcr.io/$PROJECT_ID/kernel-module-management-operator:$_GIT_TAG
14+
- gcr.io/$PROJECT_ID/kernel-module-management-operator:latest

0 commit comments

Comments
 (0)