Update cloudbuild.yaml

This commit is contained in:
mnieuwstraten 2019-09-12 11:25:57 +02:00 committed by GitHub
parent 4f3ff35501
commit a6b3438c4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,4 +4,11 @@ steps:
args: ['clean', 'install', '-DskipTests']
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'gcr.io/qinfra-acc/petclinic_dev', '.']
- name: 'gcr.io/cloud-builders/kubectl'
args: ['set', 'image', 'deployment/petclinic-dev', 'my-container=gcr.io/qinfra-acc/petclinic-dev']
env:
- 'CLOUDSDK_COMPUTE_ZONE=us-east4-b'
- 'CLOUDSDK_CONTAINER_CLUSTER=my-cluster'
options:
machineType: 'N1-STANDARD-1'
images: ['gcr.io/qinfra-acc/petclinic_dev']