Docs DOCKER_AUTH_CONFIG not available for k8s

This commit is contained in:
Steve Azzopardi 2019-08-20 07:02:30 +00:00 committed by Evan Read
parent da96065128
commit 41e6c51613
1 changed files with 11 additions and 8 deletions

View File

@ -495,14 +495,6 @@ that runner.
## Define an image from a private Container Registry
> **Notes:**
>
> - This feature requires GitLab Runner **1.8** or higher
> - For GitLab Runner versions **>= 0.6, <1.8** there was a partial
> support for using private registries, which required manual configuration
> of credentials on runner's host. We recommend to upgrade your Runner to
> at least version **1.8** if you want to use private registries.
To access private container registries, the GitLab Runner process can use:
- [Statically defined credentials](#using-statically-defined-credentials). That is, a username and password for a specific registry.
@ -525,6 +517,17 @@ it's provided as an environment variable. This is because GitLab Runnner uses **
`config.toml` configuration and doesn't interpolate **ANY** environment variables at
runtime.
### Requirements and limitations
- This feature requires GitLab Runner **1.8** or higher.
- For GitLab Runner versions **>= 0.6, <1.8** there was a partial
support for using private registries, which required manual configuration
of credentials on runner's host. We recommend to upgrade your Runner to
at least version **1.8** if you want to use private registries.
- Not available for [Kubernetes executor](https://docs.gitlab.com/runner/executors/kubernetes.html),
follow <https://gitlab.com/gitlab-org/gitlab-runner/issues/2673> for
details.
### Using statically-defined credentials
There are two approaches that you can take in order to access a