Setup Cloud Build from Cloud Run with Github not working

N3
New Member

I am trying to setup a Cloud Run service with continuous deployment from a connected GitHub repository.

The challenge is that the list of connected GitHub repositories does not appear in the dropdown list of the setup.

N3_0-1714640513909.png

This prevents me from completing the process and setting the service up properly.
Under Cloud Build, all relevant Github repositories are successfully connected and enabled as 2nd Generation repositories. 
The challenge is that I am not able to get them properly linked to the Cloud Run service when setting up Cloud Build from Cloud Run.

Any advise how to get around this, much appreciated.

1 1 99
1 REPLY 1

Hello @N3,

Welcome to Google Cloud Community!

You can do the following troubleshooting options:

  1.  Go to your GitHub settings. Under Integrations, click Applications. Configure your Google Cloud Build. Under Repository access, make sure that you have chosen all repositories or you have included the repositories in the only select repositories option. The repositories should show up in the continuous deployment tab
  2. Make sure you followed these guides, along with the before you begin section and having the required roles : Connect to a GitHub repository and Continuous deployment from Git using Cloud Build
  3. If the above options don't work, you can contact Google Cloud Support to further look into your case. Hope it helps, thanks!