Separate cloudbuild files

This commit is contained in:
Arthur Belleville 2025-07-13 21:58:33 +02:00
parent 45522240da
commit a4106b1eea
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

6
api/cloudbuild_prod.yaml Normal file
View 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

View file

@ -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