Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
aed3fadb
Commit
aed3fadb
authored
Jul 04, 2019
by
Alexander Tanayno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace the variable DOCKER_AUTH_LOGIN with DOCKER_AUTH_CONFIG
parent
d1154dcd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
doc/ci/docker/using_docker_images.md
doc/ci/docker/using_docker_images.md
+4
-4
No files found.
doc/ci/docker/using_docker_images.md
View file @
aed3fadb
...
@@ -489,17 +489,17 @@ runtime.
...
@@ -489,17 +489,17 @@ runtime.
### Using statically-defined credentials
### Using statically-defined credentials
There are two approaches that you can take in order to access a
There are two approaches that you can take in order to access a
private registry. Both require setting the environment variable
private registry. Both require setting the environment variable
`DOCKER_AUTH_
LOGIN
`
with appropriate authentication info.
`DOCKER_AUTH_
CONFIG
`
with appropriate authentication info.
1.
Per-job: To configure one job to access a private registry, add
1.
Per-job: To configure one job to access a private registry, add
`DOCKER_AUTH_
LOGIN
`
as a job variable.
`DOCKER_AUTH_
CONFIG
`
as a job variable.
1.
Per-runner: To configure a Runner so all its jobs can access a
1.
Per-runner: To configure a Runner so all its jobs can access a
private registry, add
`DOCKER_AUTH_
LOGIN
`
to the environment in the
private registry, add
`DOCKER_AUTH_
CONFIG
`
to the environment in the
Runner's configuration.
Runner's configuration.
See below for examples of each.
See below for examples of each.
#### Determining your `DOCKER_AUTH_
LOGIN
` data
#### Determining your `DOCKER_AUTH_
CONFIG
` data
As an example, let's assume that you want to use the
`registry.example.com:5000/private/image:latest`
As an example, let's assume that you want to use the
`registry.example.com:5000/private/image:latest`
image which is private and requires you to login into a private container registry.
image which is private and requires you to login into a private container registry.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment