title: Pushing docker image through jenkins
body: <p>I'm pushing docker image through Jenkins pipeline, but I'm getting the following error:</p>
  
  <blockquote>
    <p>ERROR: Could not find credentials matching
    gcr:["google-container-registry"]</p>
  </blockquote>
  
  <p>I tried with:</p>
  
  <pre><code>gcr:["google-container-registry"]
  gcr:[google-container-registry]
  gcr:google-container-registry
  google-container-registry
  </code></pre>
  
  <p>but none of them worked.</p>
  
  <p>In the global credentials I have:</p>
  
  <blockquote>
    <p>NAME: google-container-registry</p>
    
    <p>KIND: Google Service Account from private key</p>
    
    <p>DESCRIPTION: A Google robot account for accessing Google APIs and
    services.</p>
  </blockquote>