Commit 29cc6466 authored by Suzanne Selhorn's avatar Suzanne Selhorn

Merge branch 'doc-using-dependency-proxy' into 'master'

Describe how we use Dependency Proxy

See merge request gitlab-org/gitlab!53403
parents a4caabff fdfd56e2
...@@ -632,6 +632,25 @@ for redundancy. ...@@ -632,6 +632,25 @@ for redundancy.
The current version of the build images can be found in the The current version of the build images can be found in the
["Used by GitLab section"](https://gitlab.com/gitlab-org/gitlab-build-images/blob/master/.gitlab-ci.yml). ["Used by GitLab section"](https://gitlab.com/gitlab-org/gitlab-build-images/blob/master/.gitlab-ci.yml).
### Dependency Proxy
Some of the jobs are using images from Docker Hub, where we also use
`${GITLAB_DEPENDENCY_PROXY}` as a prefix to the image path, so that we pull
images from our [Dependency Proxy](../user/packages/dependency_proxy/index.md).
`${GITLAB_DEPENDENCY_PROXY}` is a group variable defined in
[`gitlab-org`](https://gitlab.com/gitlab-org) as
`${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/`. This means when we use an image
defined as:
```yaml
image: ${GITLAB_DEPENDENCY_PROXY}alpine:edge
```
Projects in the `gitlab-org` group pull from the Dependency Proxy, while
forks that reside on any other personal namespaces or groups fall back to
Docker Hub unless `${GITLAB_DEPENDENCY_PROXY}` is also defined there.
### Default variables ### Default variables
In addition to the [predefined variables](../ci/variables/predefined_variables.md), In addition to the [predefined variables](../ci/variables/predefined_variables.md),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment