Separate cloudbuild files
This commit is contained in:
parent
45522240da
commit
a4106b1eea
2 changed files with 6 additions and 6 deletions
6
api/cloudbuild_prod.yaml
Normal file
6
api/cloudbuild_prod.yaml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
steps:
|
||||
- name: 'gcr.io/cloud-builders/docker'
|
||||
args: [ 'build', '--target', 'production', '-t', 'europe-west1-docker.pkg.dev/$_AR_PROJECT_ID/$_AR_REPOSITORY/xtablo-source/$_PROJECT_NAME', '.' ]
|
||||
|
||||
options:
|
||||
logging: CLOUD_LOGGING_ONLY
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
steps:
|
||||
- name: 'gcr.io/cloud-builders/docker'
|
||||
args: [ 'build', '--target', '$_NODE_ENV', '-t', 'europe-west1-docker.pkg.dev/$_AR_PROJECT_ID/$_AR_REPOSITORY/xtablo-source/xtablo-api', '-f', 'api/Dockerfile', 'api' ]
|
||||
|
||||
options:
|
||||
logging: CLOUD_LOGGING_ONLY
|
||||
Loading…
Reference in a new issue