This repository was archived by the owner on Dec 6, 2024. It is now read-only.
File tree 1 file changed +8
-2
lines changed
container-object-storage-interface-controller
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 1
1
# GCloud build docs: https://cloud.google.com/cloud-build/docs/build-config
2
- # Builds go to: https://console.cloud.google.com/gcr/images/k8s-staging-test-infra/global/
2
+ # Builds go to https://console.cloud.google.com/gcr/images/k8s-staging-test-infra/global/
3
+ # Build logs in https://testgrid.k8s.io/sig-storage-image-build
3
4
timeout : 3000s
4
5
options :
5
6
substitution_option : ' ALLOW_LOOSE'
@@ -19,10 +20,15 @@ steps:
19
20
args :
20
21
- buildx
21
22
- build
22
- - --platform=" linux/amd64,linux/arm64"
23
+ - --platform=linux/amd64,linux/arm64
23
24
- --tag=gcr.io/k8s-staging-sig-storage/objectstorage-controller:${_GIT_TAG}
25
+ # using _PULL_BASE_REF as a tag will often just build and overwrite the same 'master' tag,
26
+ # BUT! if the commit has a git tag, it will build that tag instead. this mechanism allows
27
+ # creating the semver-tagged images that will be auto-promoted to release
28
+ - --tag=gcr.io/k8s-staging-sig-storage/objectstorage-controller:${_PULL_BASE_REF}
24
29
- --tag=gcr.io/k8s-staging-sig-storage/objectstorage-controller:latest
25
30
- .
26
31
images :
27
32
- gcr.io/k8s-staging-sig-storage/objectstorage-controller:${_GIT_TAG}
33
+ - gcr.io/k8s-staging-sig-storage/objectstorage-controller:${_PULL_BASE_REF}
28
34
- gcr.io/k8s-staging-sig-storage/objectstorage-controller:latest
You can’t perform that action at this time.
0 commit comments