R
Railway12mo ago
macwilko

Build SHA as env variable

Can I expose the current build SHA as an env var to the app?
Solution:
Would probably need to use dockerfile and define an env var there with some kind of library you add during build
Jump to solution
3 Replies
Percy
Percy12mo ago
Project ID: N/A
Solution
Fragly
Fragly12mo ago
Would probably need to use dockerfile and define an env var there with some kind of library you add during build
macwilko
macwilkoOP12mo ago
ty, ideally it would be the git SHA for the current release hmmm RAILWAY_DEPLOYMENT_ID maybe this would work RAILWAY_GIT_COMMIT_SHA oooo even better!!
Want results from more Discord servers?
Add your server