From 99f76caf27d0020d0b2cbd49e8b9437bdf443211 Mon Sep 17 00:00:00 2001 From: Carlos Panato Date: Fri, 12 Mar 2021 10:13:12 +0100 Subject: [PATCH] debian-hyperkube-base: add a REGISTRY substitution to allow registry selection --- images/build/debian-hyperkube-base/cloudbuild.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/images/build/debian-hyperkube-base/cloudbuild.yaml b/images/build/debian-hyperkube-base/cloudbuild.yaml index e92fbae6464..b14c510adab 100644 --- a/images/build/debian-hyperkube-base/cloudbuild.yaml +++ b/images/build/debian-hyperkube-base/cloudbuild.yaml @@ -9,8 +9,8 @@ steps: dir: ./images/build/debian-hyperkube-base env: - DOCKER_CLI_EXPERIMENTAL=enabled - - REGISTRY=gcr.io/$PROJECT_ID - - IMAGE=gcr.io/$PROJECT_ID/debian-hyperkube-base + - REGISTRY=$_REGISTRY + - IMAGE=$_REGISTRY/debian-hyperkube-base - HOME=/root # for docker buildx args: - -c @@ -18,5 +18,8 @@ steps: gcloud auth configure-docker && \ make all-push +substitutions: + _REGISTRY: 'fake.repository/registry-name' + tags: - 'debian-hyperkube-base'