setup-gcloud icon indicating copy to clipboard operation
setup-gcloud copied to clipboard

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

Open gomrinal-mc opened this issue 3 years ago • 1 comments

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

gomrinal-mc avatar Apr 28 '22 10:04 gomrinal-mc

How did you authenticate to Google Cloud from your action?

sethvargo avatar Apr 28 '22 13:04 sethvargo

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.

sethvargo avatar Feb 02 '23 22:02 sethvargo