title: Gitlab Registry : Access Denied
body: <p>I'm trying to push a simple docker image on my docker registry and I get an access denied after a successful <code>docker login</code>. </p>
  
  <p>I created a Personnal Access Token with <code>api</code> scope.</p>
  
  <p>1)  I log in with : </p>
  
  <p><code>docker login -u gitlab-repository -p &lt;token&gt; registry.gitlab.com</code></p>
  
  <p>I got <em>Login Succeeded</em>.</p>
  
  <p>2) Then :  <code>docker build -t registry.gitlab.com/&lt;username&gt;/test-ci .</code></p>
  
  <p>3) And finaly when I push :
   <code>docker push registry.gitlab.com/&lt;username&gt;/test-ci</code> </p>
  
  <p>I get this error : <strong>unauthorized: HTTP Basic: Access denied</strong></p>