Skip to content

Commit

Permalink
Remember to add FROM_IMAGE buildarg
Browse files Browse the repository at this point in the history
  • Loading branch information
tlbdk committed Nov 15, 2019
1 parent e61e094 commit 2892bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ steps:
# Build auth wrapper image with embedded key
- name: 'gcr.io/cloud-builders/docker'
dir: localkey
args: ['build', '--tag=gcr.io/$PROJECT_ID/$REPO_NAME-pemkey.$BRANCH_NAME:$COMMIT_SHA', '--tag=gcr.io/$PROJECT_ID/$REPO_NAME-pemkey.$BRANCH_NAME:latest', '.']
args: ['build', '--build-arg=FROM_IMAGE=gcr.io/$PROJECT_ID/$REPO_NAME.$BRANCH_NAME:$COMMIT_SHA', '--tag=gcr.io/$PROJECT_ID/$REPO_NAME-pemkey.$BRANCH_NAME:$COMMIT_SHA', '--tag=gcr.io/$PROJECT_ID/$REPO_NAME-pemkey.$BRANCH_NAME:latest', '.']
# Test cloud build wrapper using ssh key embedded in the container
- name: 'gcr.io/$PROJECT_ID/$REPO_NAME-pemkey.$BRANCH_NAME:$COMMIT_SHA'
args: ['build', '--progress=plain', '--ssh=default=$$SSH_AUTH_SOCK', '.']
Expand Down

0 comments on commit 2892bce

Please sign in to comment.