Railway is not using service variables during Dockerfile build
nikiv
HOBBYOP

a year ago

I am getting this error because it seems that the RONIN_TOKEN is not being injected properly or something

this happened after recent change to railway

dockerfile: https://github.com/nikitavoloboev/drophunt/blob/main/docker/api/Dockerfile

34 Replies


nikiv
HOBBYOP

a year ago

after this


nikiv
HOBBYOP

a year ago

the token is valid, i double checked it


nikiv
HOBBYOP

a year ago

as test I tried to do RUN echo $RONIN_TOKEN


nikiv
HOBBYOP

a year ago

and see no value for it


nikiv
HOBBYOP

a year ago

railway stopped injected the token


nikiv
HOBBYOP

a year ago

1252939814001705000


nikiv
HOBBYOP

a year ago

yes the token is just not passed 😐


nikiv
HOBBYOP

a year ago

RUN bunx ronin login && bun install --production


nikiv
HOBBYOP

a year ago

im doing this


nikiv
HOBBYOP

a year ago

but RONIN_TOKEN is not injected


nikiv
HOBBYOP

a year ago

or rather


nikiv
HOBBYOP

a year ago

1252940317582168000


nikiv
HOBBYOP

a year ago

how can I pass variable to the dockerfile?


nikiv
HOBBYOP

a year ago

1252941243411861500


nikiv
HOBBYOP

a year ago

perhaps @Brody knows


nikiv
HOBBYOP

a year ago

for some reason docker builds just stopped working for me


nikiv
HOBBYOP

a year ago

and now token is not being injected at all


brody
EMPLOYEE

a year ago

you answered this yourself


brody
EMPLOYEE

a year ago

this is the answer, as shown in that screenshot


brody
EMPLOYEE

a year ago

respectfully, let's try not to blame railway for everything right from the start


nikiv
HOBBYOP

a year ago

oh true


nikiv
HOBBYOP

a year ago

this worked


nikiv
HOBBYOP

a year ago

yea was not really blaming it was just an assumption as things worked


nikiv
HOBBYOP

a year ago

then suddenly stopped when i made no changes on my side I think and I remember you said there was some update being released


nikiv
HOBBYOP

a year ago

won't blame again 🙂


nikiv
HOBBYOP

a year ago

im new to railway and devops


nikiv
HOBBYOP

a year ago

mostly worked with cloudflare workers only


brody
EMPLOYEE

a year ago

There are definitely plenty of times where it can be railway, even though I suspected it could have been railway when your application wasn't responding and was wrong, it's challenging to differentiate sometimes so no worries


nikiv
HOBBYOP

a year ago

and railway is mucher nicer as there are no limitations


nikiv
HOBBYOP

a year ago

was trying to pick this as answer


nikiv
HOBBYOP

a year ago

and failed


nikiv
HOBBYOP

a year ago

1252999143681692000


brody
EMPLOYEE

a year ago

users are not permitted to use that feature


Loading...