Skip to content

Commit

Permalink
Update cloudbuild.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
aitilabs authored Sep 2, 2023
1 parent 9d15bb8 commit 4033ad1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cloudrun-app/application-files/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
steps:
- name: 'gcr.io/cloud-builders/docker'
args: ['build', '-t', 'gcr.io/cli-project-genai/demo-flask-app', '.']
args: ['build', '-t', 'gcr.io/cli-project-genai/demo-flask-app:$COMMIT_SHA', '.']

- name: 'gcr.io/cloud-builders/docker'
args: ['push', 'gcr.io/cli-project-genai/demo-flask-app']
args: ['push', 'gcr.io/cli-project-genai/demo-flask-app:$COMMIT_SHA']

- name: 'gcr.io/cli-project-genai/demo-flask-app'
- name: 'gcr.io/cli-project-genai/demo-flask-app:$COMMIT_SHA'
entrypoint: 'bash'
args:
- '-c'
Expand All @@ -17,14 +17,14 @@ steps:
args:
- 'run'
- 'deploy'
- 'demo-flask-app'
- 'py-bq-load'
- '--image'
- 'gcr.io/cli-project-genai/demo-flask-app'
- 'gcr.io/cli-project-genai/demo-flask-app:$COMMIT_SHA'
- '--region'
- 'us-central1'
- '--allow-unauthenticated'
images:
- 'gcr.io/cli-project-genai/demo-flask-app'
- 'gcr.io/cli-project-genai/demo-flask-app:$COMMIT_SHA'

options:
logging: CLOUD_LOGGING_ONLY
logging: CLOUD_LOGGING_ONLY

0 comments on commit 4033ad1

Please sign in to comment.