From 9c25e65cfb97f00cf2fa79338f791cc4d43d70d7 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Thu, 4 Jun 2020 16:43:13 -0400 Subject: [PATCH] Update cloud-build configuration --- cloudbuild.yaml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 3d964862a..bd1538ac2 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -5,16 +5,19 @@ options: substitution_option: ALLOW_LOOSE steps: - - name: "gcr.io/k8s-testimages/gcb-docker-gcloud:v20190906-745fed4" - entrypoint: make + - name: 'gcr.io/k8s-testimages/gcb-docker-gcloud:v20200422-b25d964' + entrypoint: bash env: - DOCKER_CLI_EXPERIMENTAL=enabled - TAG=$_GIT_TAG - BASE_REF=$_PULL_BASE_REF - REGISTRY=gcr.io/k8s-staging-ingress-nginx + - HOME=/root args: - - release - + - -c + - | + gcloud auth configure-docker \ + && make release substitutions: # _GIT_TAG will be filled with a git-based tag for the image, of the form vYYYYMMDD-hash, and # can be used as a substitution