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
Percy6mo ago
Project ID: N/A
Solution
Fragly
Fragly6mo ago
Would probably need to use dockerfile and define an env var there with some kind of library you add during build
macwilko
macwilko6mo 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
More Posts