mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
Update cloudbuild.yaml
This commit is contained in:
parent
4f3ff35501
commit
a6b3438c4e
1 changed files with 7 additions and 0 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue