NIXPACKS_NO_CACHE=1 still uses cache
Railway is still caching builds, despite system variable being set to not use them.
Why is this?
9 Replies
Project ID:
58a8cdcc-9801-4a0e-976f-d8a26bcdc8e6
58a8cdcc-9801-4a0e-976f-d8a26bcdc8e6
thats layer caching, you cant turn that off
This cache is also being applied to some submodules I'm installing which means they aren't updating...
Solution
change a file and that will bust the cache
Thanks, I think that worked - would be nice to have env and/or UI button to do this though.
i mean, if the file hasnt changed, i dont see a reason to bust the cache? i think your issue was elsewhere
Your main repo could not change (which is all cache see's) but one of your dependencies could (installed in railway.toml via git clone) - it doesn't necessarily have full picture.
ah gotcha