Skip to content

Commit

Permalink
images/kubecross: create a REGISTRY substitution to allow registry se…
Browse files Browse the repository at this point in the history
…lection
  • Loading branch information
cpanato committed Mar 11, 2021
1 parent 8ff3e31 commit fac8ca0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions images/build/cross/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand All @@ -48,6 +50,7 @@ tags:
- ${_IMAGE_VERSION}
- ${_PROTOBUF_VERSION}
- ${_ETCD_VERSION}
- ${_REGISTRY}

images:
- 'gcr.io/$PROJECT_ID/kube-cross-amd64:$_IMAGE_VERSION'
Expand Down

0 comments on commit fac8ca0

Please sign in to comment.