diff --git a/entrypoint.sh b/entrypoint.sh index 9c3ea2f..a512f24 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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"