Closed greydelta closed 2 years ago
You are using setup-gcloud@v0.2.0
. The latest version is v0.6.2
. Please upgrade to the latest version and see if that fixes your issue.
We also have the deploy-cloudrun action which might be of interest.
I've tried changing to both setup-gcloud@0.6.0
and setup-gcloud@0.6.2
But the main error on nodejs version still occurs:
Annotations
1 error and 2 warnings
[Cloud Run Deployment]
Process completed with exit code ***.
[Cloud Run Deployment]
Node.js ***2 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node***6-instead-of-node***2/. Please update the following actions to use Node.js ***6: actions/checkout, actions/checkout
[Cloud Run Deployment]
"service_account_key" has been deprecated. Please switch to using google-github-actions/auth which supports both Workload Identity Federation and Service Account Key JSON authentication. For more details, see https://github.com/google-github-actions/setup-gcloud#authorization
Hi @greydelta - that's a slightly different error message than above. It now says:
Please update the following actions to use Node.js ***6: actions/checkout, actions/checkout
You need to upgrade actions/checkout
, probably to v3.
TL;DR
This github action failed to deploy even after changing checkout@v1 to checkout@v2.
Error message from failed github action:
Expected behavior
Cloud run deploys succesfully
Observed behavior
Cloud run failed to deploy
Action YAML
Log output
Additional information
Code for docker file: