From e5b3c1130e31460ef5f1b41d4690e7fc92a3abe9 Mon Sep 17 00:00:00 2001 From: Troels Liebe Bentsen Date: Thu, 14 Nov 2019 14:06:50 +0100 Subject: [PATCH] cloud builder escape --- cloudbuild.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudbuild.yaml b/cloudbuild.yaml index 3dd75a3..0b2e169 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -23,7 +23,7 @@ steps: args: ['-c', 'docker build --tag="gcr.io/$PROJECT_ID/$REPO_NAME.$BRANCH_NAME:$COMMIT_SHA" --tag="gcr.io/$PROJECT_ID/$REPO_NAME.$BRANCH_NAME:latest" --file=Dockerfile .'] # Test cloud build wrapper using ssh key embedded in the container - name: 'gcr.io/$PROJECT_ID/$REPO_NAME.$BRANCH_NAME:$COMMIT_SHA' - args: ['build', '--progress=plain', '--ssh=default=$SSH_AUTH_SOCK', '.'] + args: ['build', '--progress=plain', '--ssh=default=$$SSH_AUTH_SOCK', '.'] dir: 'testdata' secretEnv: - 'SSH_KEY_PASSWORD' @@ -32,7 +32,7 @@ steps: - "DOCKER_BUILDKIT=1" # Test cloud build wrapper using KSM key - name: 'gcr.io/$PROJECT_ID/$REPO_NAME.$BRANCH_NAME:$COMMIT_SHA' - args: ['build', '--progress=plain', '--ssh=default=$SSH_AUTH_SOCK', '.'] + args: ['build', '--progress=plain', '--ssh=default=$$SSH_AUTH_SOCK', '.'] dir: 'testdata' env: - "SSH_KEY_PATH=kms://projects/connectedcars-staging/locations/global/keyRings/cloudbuilder/cryptoKeys/ssh-key/cryptoKeyVersions/3"