Docs feedback: Incorrect instructions for using deploy_token

Problem to solve

In the section for authenticating to the container registry https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#authenticating-to-the-container-registry

The GitLab Deploy Token subsection suggests the usage of the variables "CI_DEPLOY_USER" and "CI_DEPLOY_PASSWORD"

docker login -u $CI_DEPLOY_USER -p $CI_DEPLOY_PASSWORD $CI_REGISTRY

However, when the docker build is run, these variables are set to NULL.

Further details

The variables $CI_REGISTRY_USER and $CI_REGISTRY_PASSWORD, however, are set up as expected.

Proposal

Need to update the documentation.

Who can address the issue

Confirmation that a change was enacted to replace this behaviour

Assignee Loading
Time tracking Loading