title: Using jenkins and docker to deploy to server
body: <p>Hey I am currently  learn Jenkins pipeline for CI and CD
  I was successfully deploy my express js by Jenkins 
  On locally machine my server
  It was for server and my ENV was show off on my public  repository 
  I am here trying to understand more how to hide that ENV on my Jenkins? That use variable 
  And is that possible to use variable on Dockerfile also to hide my ENV ? </p>
  
  <p>On my Jenkins Pipeline 
  I run my ENV on docker run -p -e myEnV=key 
  I do love to hide my ENV so people didn't know my keys inside on my Jenkinsfile and Dockerfile 
  I am using multi branches in jenkins because I follow the article on hackernoon for deploy react and node js app with Jenkins </p>
  
  <p>And anyway, what advantages  to push our container or image to Docker  Hub? 
  If we push it to there and if we want to move our server to another server
  We just need to pull our repo Docker Hub to use that to new server because what we have been build everytime it push to our repo Docker Hub  , right ?</p>