Build failed with railpacks due to missing secret
jasonfma
PROOP
10 months ago
I'm getting consistent build failures.
```
ERROR: failed to build: failed to solve: secret <...> : not found
```
This just started happening since my code expects that env var at runtime (not build time).
I have no predeploy commands. Also, the build completes if I switch to nixpacks.
2 Replies
Railway
BOT
10 months ago
Hey there! We've found the following might help you get unblocked faster:
- 🧵 Environment variables not working with PayloadCMS
- 🧵 Failed to compute cache key error during build
- 🧵 Build fails with "failed to calculate checksum[...] ./nixpacks[...].nix not found"
If you find the answer from one of these, please let us know by solving the thread!
jasonfma
PROOP
10 months ago
Seems to be magically working again this morning.
Status changed to Solved brody • 10 months ago
