Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloud Build "Google Cloud Platform was not authorised to list repositories"

I want to deploy a private GitHub repository with Cloud Run on Google Cloud Plattform. In GitHub, I properly installed Google Cloud Build Application by clicking "Authenticate" in Cloud Run. But somehow, Google tells me "Currently not authenticated" even though I clicked it another time. In Cloud Build I checked and it tells me "Google Cloud Platform was not authorised to list repositories". What am I doing wrong? enter image description here enter image description here

like image 394
Luke Avatar asked Feb 01 '21 11:02

Luke


1 Answers

For other persons, I my case, I use mutiples account of google, and my account of cgp is a seccond, when i auth in github, the callback redirect to first account. For resolve, I log-out all account and log-in only in my gcp account.

:)

like image 113
Marcon Willian Avatar answered Oct 06 '22 14:10

Marcon Willian