Skip to content

Commit

Permalink
added logging option to cloud build step
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Alexandre35 committed Aug 21, 2023
1 parent f07ab10 commit 5b889ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy-back-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ jobs:
run: yes | gcloud auth login --cred-file="$GOOGLE_APPLICATION_CREDENTIALS"

- name: Deploy to Cloud Build
run: gcloud builds submit --tag gcr.io/travian-dev-395914/test:1.0.0 .
options:
logging: CLOUD_LOGGING_ONLY
run: gcloud builds submit --tag gcr.io/travian-dev-395914/test:1.0.0 . --suppress-logs

- name: Deploy to Cloud Run
run: gcloud run services update app --image=gcr.io/travian-dev-395914/test:1.0.0 --port=8000 --region=us-central1 --platform managed

0 comments on commit 5b889ea

Please sign in to comment.