Sealed variables show up in logs
gunni
PROOP

a month 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

a month ago

Hello,

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


Status changed to Awaiting User Response Railway about 1 month ago


brody

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

gunni
PROOP

a month 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 about 1 month ago


Loading...