From c2ec18ff2f9075b6cddccf9623d7e261e23ff131 Mon Sep 17 00:00:00 2001 From: Troels Liebe Bentsen Date: Fri, 15 May 2020 23:50:12 +0200 Subject: [PATCH] Fix docker cmd --- cloudbuild.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 72f5ea8..d4d8860 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -6,7 +6,7 @@ steps: - name: 'gcr.io/cloud-builders/docker' args: [ 'build', - '--target git-kms', + '--target=git-kms', '--build-arg=SSH_KEY_PATH=kms://projects/connectedcars-staging/locations/global/keyRings/cloudbuilder/cryptoKeys/ssh-key/cryptoKeyVersions/3', '--tag=gcr.io/$PROJECT_ID/$REPO_NAME-git.$BRANCH_NAME:$COMMIT_SHA', '--tag=gcr.io/$PROJECT_ID/$REPO_NAME-git.$BRANCH_NAME:latest', @@ -30,7 +30,7 @@ steps: dir: localkey args: [ 'build', - '--target git-local', + '--target=git-local', '--tag=gcr.io/$PROJECT_ID/$REPO_NAME-git-local.$BRANCH_NAME:$COMMIT_SHA', '--tag=gcr.io/$PROJECT_ID/$REPO_NAME-git-local.$BRANCH_NAME:latest', '.' ]