Sealed variables show up in logs
gunni
PROOP

5 months ago

I have a build variable which is a secret, your system does not support build secret so I am forced to use variables, so i add it and seal it, seems good...

No, because when dockerfile is being executed, it prints out every command including the secret!

Why does seal not prevent the value from being printed? seems like an oversight to me!

$10 Bounty

2 Replies

5 months ago

Hello,

It would be best to avoid using variables directly in commands.


Status changed to Awaiting User Response Railway 5 months ago


brody

Hello, It would be best to avoid using variables directly in commands.

gunni
PROOP

5 months ago

I'd love to know how, literally all the docs say RUN --mount=type=secret but then railway says no...


Status changed to Awaiting Railway Response Railway 5 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...