Railway is not using service variables during Dockerfile build
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/DockerfileGitHub
drophunt/docker/api/Dockerfile at main Β· nikitavoloboev/drophunt
Contribute to nikitavoloboev/drophunt development by creating an account on GitHub.
16 Replies
Project ID:
N/A
https://discord.com/channels/713503345364697088/1252681748614221947/1252683094490611843
after this
the token is valid, i double checked it
as test I tried to do
RUN echo $RONIN_TOKEN
and see no value for it
railway stopped injected the tokenyes the token is just not passed π
RUN bunx ronin login && bun install --production
im doing this
but RONIN_TOKEN is not injected
or ratherhow can I pass variable to the dockerfile?
perhaps @Brody knows
for some reason docker builds just stopped working for me
and now token is not being injected at all
you answered this yourself
Solution
this is the answer, as shown in that screenshot
respectfully, let's try not to blame railway for everything right from the start
oh true
this worked
yea was not really blaming it was just an assumption as things worked
then suddenly stopped when i made no changes on my side I think and I remember you said there was some update being released
won't blame again π
im new to railway and devops
mostly worked with cloudflare workers only
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
and railway is mucher nicer as there are no limitations
was trying to pick this as
answer
and failedusers are not permitted to use that feature