什么是特殊的gitlab-ci-token用户?

gitlab的容器registry文档( https://gitlab.com/help/container_registry/README.md )提供了这个指令的configuration示例:

- docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.example.com

这个解释是:

You have to use the credentials of the special gitlab-ci-token user with its password stored in $CI_BUILD_TOKEN in order to push to the Registry connected to your project. This allows you to automated building and deployment of your Docker images.

我找不到有关这个特殊的gitlab-ci-token用户的任何文档,也没有关于$CI_BUILD_TOKEN var的$CI_BUILD_TOKEN

这个特殊用户是什么? 它是否自动可用? 它是否需要在某个地方定义? 应该给$CI_BUILD_TOKEN var赋予什么值?

Gitlab充当registry的身份validation提供程序。 gitlab-ci-token是一个为你自动创build的用户。 通过Gitlab-CI为每个构build自动设置CI_BUILD_TOKEN