You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐞 files added to git but matching .gitignore are not added to Dagger builds #10996
As I saw in one of the previous releases, Dagger is now by default filtering files from .gitignore.
This erroneously affects files that are already added staged (for ex with git add --force, or added prior to .gitignore modifications), but would have fallen under .gitignore if they wouldn't.
I have a few small .mp4 files checked into the repo for testing purposes. My .gitignore also ignores **/.mp4. My tests in Dagger now started failing after an upgrade to 0.8.17.
Files explicitly added to git should not be excluded from COPY operations - that's valid source code!
Activity
jedevc commentedon Sep 9, 2025
Re-opening this, since this is a legitimate issue I want to track separately.
bupd commentedon Sep 24, 2025
Please add an option to dagger that would allow to use the .gitignored files.