Skip to content

Commit

Permalink
fix: specify region when managing traffic
Browse files Browse the repository at this point in the history
  • Loading branch information
stefda committed Feb 27, 2021
1 parent d57a805 commit 0637a61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ docker push "$INPUT_IMAGE"

gcloud run deploy "$INPUT_SERVICE" \
--image "$INPUT_IMAGE" \
--region "$INPUT_REGION" \
--platform managed \
--region "$INPUT_REGION" \
--allow-unauthenticated \
${ENV_FLAG}

gcloud run services update-traffic "$INPUT_SERVICE" --to-latest
gcloud run services update-traffic "$INPUT_SERVICE" --to-latest \
--platform managed \
--region "$INPUT_REGION"

0 comments on commit 0637a61

Please sign in to comment.