diff --git a/images/build/cross/cloudbuild.yaml b/images/build/cross/cloudbuild.yaml index fb1f03d35351..36080d31861e 100644 --- a/images/build/cross/cloudbuild.yaml +++ b/images/build/cross/cloudbuild.yaml @@ -17,6 +17,7 @@ steps: - IMAGE_VERSION=$_IMAGE_VERSION - PROTOBUF_VERSION=$_PROTOBUF_VERSION - ETCD_VERSION=$_ETCD_VERSION + - REGISTRY=$_REGISTRY # default cloudbuild has HOME=/builder/home and docker buildx is in /root/.docker/cli-plugins/docker-buildx # set the home to /root explicitly to if using docker buildx - HOME=/root @@ -37,6 +38,7 @@ substitutions: _IMAGE_VERSION: 'v0.0.0-0' _PROTOBUF_VERSION: '0.0.0' _ETCD_VERSION: 'v0.0.0' + _REGISTRY: 'gcr.io/k8s-staging-build-image' tags: - 'kube-cross' @@ -48,6 +50,7 @@ tags: - ${_IMAGE_VERSION} - ${_PROTOBUF_VERSION} - ${_ETCD_VERSION} +- ${_REGISTRY} images: - 'gcr.io/$PROJECT_ID/kube-cross-amd64:$_IMAGE_VERSION'