Difference between revisions of "GitLab: DOCKER AUTH CONFIG"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 3 users not shown)
Line 5: Line 5:
 
Example: <ref>https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#use-credential-helpers</ref>
 
Example: <ref>https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#use-credential-helpers</ref>
 
  {  
 
  {  
   "credHelpers": {
+
   "[[credHelpers]]": {
     "<aws_account_id>.dkr.ecr.<region>.amazonaws.com": "ecr-login"
+
     "<aws_account_id>.dkr.ecr.<region>.amazonaws.com": "[[ecr-login]]"
 
   }
 
   }
 
  }
 
  }
  
 +
 +
[[ERROR: Preparation failed: Error response from daemon:]] Get https://registry-1.docker.io/v2/library/node/manifests/14: unauthorized: incorrect username or password (docker.go:143:0s)
  
  
Line 20: Line 22:
  
 
== See also ==
 
== See also ==
 +
* {{docker config}}
 
* {{GitLab}}
 
* {{GitLab}}
  
 
[[Category:GitLab]]
 
[[Category:GitLab]]

Latest revision as of 07:56, 6 August 2022

Advertising: