im working with MongoDB, I have password saved in my travis env. I want to pass this password in my docker run command in my
deploy.sh script. Is this possible? This is what I have now:
docker run -e password=$PASSWORD img_name
$PASSWORD is the
env variable saved in travis. this command doesn’t work, fist of fall is it possible to pass a travis env variable in a bash script? and if so, how do we properly do it?