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

add git-lfs builder #594

Open markus-wa opened 1 year ago

markudevelop commented 1 year ago

why is this not merged? :)

Reichenbachian commented 7 months ago

I agree this should be merged, but for others who find this, I solved with this:

steps:
  - name: "gcr.io/cloud-builders/docker"
    script: |
      apt-get update && apt-get install -y git-lfs
      git lfs install
      git lfs pull
      docker build --no-cache -t ${_IMAGE_NAME} . -f docker/Dockerfile.api