-
Notifications
You must be signed in to change notification settings - Fork 153
Expand file tree
/
Copy pathcloudbuild.yaml
More file actions
27 lines (26 loc) · 1.09 KB
/
cloudbuild.yaml
File metadata and controls
27 lines (26 loc) · 1.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# See https://cloud.google.com/cloud-build/docs/build-config
#
# Invoked by Kubernetes Prow (image-builder) on merges/tags; see
# config/jobs/image-pushing/k8s-staging-dra-driver-nvidia-gpu.yaml in kubernetes/test-infra.
# Image tags follow versions.mk VERSION_W_COMMIT (not image-builder _GIT_TAG).
# Publishes the container image, then the Helm chart to OCI.
timeout: 7200s
options:
substitutionOption: ALLOW_LOOSE
steps:
- id: publish-image
name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20260127-c1affcc8de
entrypoint: ./hack/build-and-publish-image.sh
env:
- IMG_PREFIX=us-central1-docker.pkg.dev/k8s-staging-images/dra-driver-nvidia
- GIT_COMMIT=${_PULL_BASE_SHA}
- id: publish-chart
name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20260127-c1affcc8de
entrypoint: ./hack/build-and-publish-chart.sh
env:
- IMG_PREFIX=us-central1-docker.pkg.dev/k8s-staging-images/dra-driver-nvidia
- GIT_COMMIT=${_PULL_BASE_SHA}
substitutions:
_GIT_TAG: 'v0-placeholder'
_PULL_BASE_REF: 'main'
_PULL_BASE_SHA: '1234567890abcdef0123456789abcdef01234567'