Possible Duplicat of Google Cloud Build - Cant Update Submodules
But did you found a solution? I have the same problem. I'm getting a Repository not found Error just for the submodules. As you can see in the link people are having success by mirroring their submodules to google repositories and then changing the submodule url to the mirrored one. But thats not an Option to me