Leo Qin

03/08/2023, 4:50 PM
hello - i'd like to expose an environment variable for my
to use, but it seems that when I pass
to the dagster-cloud CLI it is not set until after setup runs... is that correct? What are the alternatives?
I am using docker deploys fyi
the use case is to provide a token for installing packages from private git repositories


03/09/2023, 4:29 PM
yeah that’s correct - @prha @Shalabh Chaturvedi do we have any other options here? Maybe configuring the

Shalabh Chaturvedi

03/09/2023, 5:12 PM
Hi Leo - if you are using ssh keys, there is a
env you can set to pass this through. See example here: If it is another token, one way to do this is to write it out the token to a file under your project directory before the build and deploy step, and then in
, read that file, set the env and delete the file . I'll look into if there is a better way to do this.