Lfs erroring on deployment

deployment error is:

5:20:21 PM: 12:20:21 AM [build] Building static entrypoints…
5:20:21 PM: [astro:assets:esm] Could not load /opt/build/repo/src/assets/tct/01.jpg (imported by src/content/photos/tct.mdx): unsupported file type: undefined (file: undefined)
5:20:22 PM: error Could not load /opt/build/repo/src/assets/tct/01.jpg (imported by src/content/photos/tct.mdx): unsupported file type: undefined (file: undefined)

Setup a new repo using the brand new astro 3.0 and netlify in attempt to fix this. LFS is erroring still. The old site is deleted so I was able to connect LFS to the new site.

6:52:16 PM: [astro:assets:esm] Could not load /opt/build/repo/src/assets/toiyabe-crest-trail/01.jpg (imported by src/content/blog/toiyabe-crest-trail.md): unsupported file type: undefined (file: undefined)
6:52:16 PM: error Could not load /opt/build/repo/src/assets/toiyabe-crest-trail/01.jpg (imported by src/content/blog/toiyabe-crest-trail.md): unsupported file type: undefined (file: undefined)

The file exists and loads locally, the images are tracking with: src/assets/** filter=lfs diff=lfs merge=lfs -text

What am I doing wrong here?

Netlify LFS files are not accessible during the build time. Anyways, this feature is deprecated: Large Media setup | Netlify Docs, so you should stop using it.