I would like to use google_cloudfunctions2_function just with container registry (point to specific image), but for some strange reason, it’s not possible and I should provide build_config with source. My sources are placed in github and this is a nightmare to understand which permissions, to which SA and how should I provide to allow cloud builder to access github and, unfortunately, I failed to understand how to do that.
So the questions:
is it somehow possible to avoid providing source for build_config or avoid cloud_build and cause google_cloudfunctions2_function to use pre-build image from container registry ? Any guide what is the right way to make bouild_config → source to work properly with github ? Thank you in advance !!!