From 9405b7d97badace07e4375ba7eb686ceda0a8c72 Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Tue, 4 Feb 2020 04:32:00 -0500 Subject: [PATCH] Pin cloud builder version The builder image was pointing at latest, 0.16.0 introduced a breaking change that requires an extra flag. --- cloudbuild.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index f531a90a..900de5b3 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -1,9 +1,10 @@ steps: -- name: 'gcr.io/kaniko-project/executor:latest' +- name: 'gcr.io/kaniko-project/executor:v0.17.0' args: - --destination=gcr.io/$PROJECT_ID/$BRANCH_NAME - --cache=true - --cache-ttl=24h + - --whitelist-var-run=false options: machineType: 'N1_HIGHCPU_32'