setup-gcloud
setup-gcloud copied to clipboard
Not able to run github action for deploying containers on Cloud Run
TL;DR
ERROR: (gcloud.builds.submit) PERMISSION_DENIED: The caller does not have permission
Expected behavior
No response
Observed behavior
No response
Action YAML
main portion:
I have set variables and secrets properly:
- name: Build & Deploy to Cloud Run
run: |-
gcloud builds submit --tag gcr.io/$PROJECT_ID/$IMAGE_NAME --project=$PROJECT_ID
gcloud run deploy $IMAGE_NAME --image gcr.io/$PROJECT_ID/$IMAGE_NAME --platform managed --project=$PROJECT_ID --allow-unauthenticated --region $REGION
Log output
No response
Additional information
No response
How did you authenticate to Google Cloud from your action?
Closing due to lack of response. If this is still an issue, please provide the complete action.yml and debug output in a new GitHub issue.