I am trying to setup our Dockerfiles to have a single run command as follows:
doppler run -p project-name -c qa -- printenv
The above command works great ^
However, I don’t want to hardcode qa or prod and would prefer to do something like this (so we can have a generic command and the container runner passes in DOPPLER_TOKEN and ENV):
ENV=qa doppler run -p project-name -c $ENV -- printenv
However this is throwing an error:
Unable to fetch secrets from the Doppler API Doppler Error: Please provide a valid config. Reading secrets from fallback file Reading secrets from fallback file Doppler Error: The fallback file does not exist
Am I just setting up the command incorrectly or is there something deeper going wrong?