Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit 598ce6e

Browse files
authored
Update cloudbuild.yaml
Update image tag
1 parent d6f19c9 commit 598ce6e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Diff for: cloudbuild.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,20 @@
22
timeout: 3000s
33
substitutions:
44
_IMAGE_NAME: 'gcr.io/k8s-staging-sig-storage/objectstorage-controller'
5-
_IMAGE_TAG: 'canary'
5+
_GIT_TAG: '12345'
6+
_PULL_BASE_REF: 'master'
67
options:
78
substitution_option: ALLOW_LOOSE
89
steps:
910
- name: "gcr.io/k8s-testimages/gcb-docker-gcloud:v20220617-174ad91c3a"
1011
entrypoint: make
1112
args: ['build']
13+
env:
14+
- GIT_TAG=${_GIT_TAG}
15+
- PULL_BASE_REF=${_PULL_BASE_REF}
1216
- name: "gcr.io/k8s-testimages/gcb-docker-gcloud:v20220617-174ad91c3a"
1317
entrypoint: make
14-
args: ['push']
18+
args: ['push']
19+
env:
20+
- GIT_TAG=${_GIT_TAG}
21+
- PULL_BASE_REF=${_PULL_BASE_REF}

0 commit comments

Comments
 (0)