GoogleCloudPlatform / cloud-builders-community

Community-contributed images for Google Cloud Build
https://cloud.google.com/cloud-build/
Apache License 2.0
1.25k stars 851 forks source link

Cloud build with source repositories - mirror github repo containing git lfs files #572

Open lappazos opened 2 years ago

lappazos commented 2 years ago

I have a GitHub repo with Dockerfile mirrored to google source repositories. I also have a trigger such that for every new commit, my repo is built in cloud build according to my Dockerfile.

One of the files I'm using in the Dockerfile is stored in git lfs. my build failes and provides error: open of version failed: No such file or directory

Is there any way to make cloud build work with git lfs?