| 1 |
timeout: 9000s |
| 2 |
options: |
| 3 |
substitution_option: ALLOW_LOOSE |
| 4 |
steps: |
| 5 |
# v20260205-38cfa9523f (digest-pinned; see kubernetes/kubernetes#138936) |
| 6 |
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud@sha256:ff388e0dc16351e96f8464e2e185b74a7578a5ccb7a112cf3393468e59e6e2d2' |
| 7 |
entrypoint: bash |
| 8 |
env: |
| 9 |
- TAG=$_GIT_TAG |
| 10 |
- BASE_REF=$_PULL_BASE_REF |
| 11 |
- DOCKER_CLI_EXPERIMENTAL=enabled |
| 12 |
# default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx |
| 13 |
# set the home to /root explicitly to if using docker buildx |
| 14 |
- HOME=/root |
| 15 |
args: |
| 16 |
- '-c' |
| 17 |
- | |
| 18 |
gcloud auth configure-docker \ |
| 19 |
&& make release-staging |
| 20 |
substitutions: |
| 21 |
# _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and |
| 22 |
# can be used as a substitution |
| 23 |
_GIT_TAG: '12345' |
| 24 |
_PULL_BASE_REF: 'dev' |