Difference between revisions of "GitLab: DOCKER AUTH CONFIG"

From wikieduonline
Jump to navigation Jump to search
 
(10 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
  https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#option-3-use-docker_auth_config
 
  https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#option-3-use-docker_auth_config
  
 +
 +
Example: <ref>https://docs.gitlab.com/ee/ci/docker/using_docker_images.html#use-credential-helpers</ref>
 +
{
 +
  "[[credHelpers]]": {
 +
    "<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)
 +
 +
 +
 +
[[~/.docker/config.json]]
 +
 +
== Related ==
 +
* [[Executor]]
 +
* <code>[[docker login]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{docker config}}
 
* {{GitLab}}
 
* {{GitLab}}
  
 
[[Category:GitLab]]
 
[[Category:GitLab]]

Latest revision as of 07:56, 6 August 2022

Advertising: