Or, if you're running self-managed runners, add the previous JSON to ${GITLAB_RUNNER_HOME}/.docker/config.json. GitLab Runner reads this configuration file and uses the needed helper for this specific repository.