How to send environmental variables of dockerhub account?


#1

in circle CI,is there any way to send environmental variables of dockerhub account like $DOCKER_EMAIL, $DOCKER_USER,$DOCKER_PASS without setting it circle.yml file?
and I want to use command docker-login before to run command docker pull.
i don’t use to run docker push only docker pull into my private repository in dockerhub.


#2

Hi,

You can do that via the CircleCI website: https://circleci.com/docs/environment-variables/#setting-environment-variables-for-all-commands-without-adding-them-to-git

This allows you to keep that information private. Hope that helps.


#3

That is what i’m fidding it . thank you so very much


#4