Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Deploy cloud function using private github repo

Hi Team,

we have requirements that build cloud function using cloud build, we already integrated cloud build with our private enterprise github repo we just wanted to use the repo to build cloud function . By default cloud function only supports cloud source repository and public github, pls suggest if anyone already using or we have option to trigger via cloudbuild pls suggest?

PS we already doing this for cloud run.

0 1 1,301
1 REPLY 1

Hi @FalconSid ,

Since you have already integrated your private github repo using cloud build, you may redirect to the detailed instructions and examples from this documentation for Deploying Functions using Cloud Build. Note that you can only connect repositories from GitHub and GitHub Enterprise when selecting 2nd generation as your source.

Hope this helps.