Not able to run github action for deploying containers on Cloud Run

This issue has been tracked since 2022-04-28.

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

sethvargo wrote this answer on 2022-04-28

How did you authenticate to Google Cloud from your action?

sethvargo wrote this answer on 2023-02-02

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.

More Details About Repo
Owner Name google-github-actions
Repo Name setup-gcloud
Full Name google-github-actions/setup-gcloud
Language TypeScript
Created Date 2019-11-05
Updated Date 2023-03-23
Star Count 1505
Watcher Count 65
Fork Count 548
Issue Count 11

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date