Please help fill in this template with all the details to help others help you more efficiently. Use formatting blocks for code, config, logs and ensure to remove sensitive data.
Problem to solve
Describe your question in as much detail as possible:
When I try to authenticate to a private container registry the pipeline fails. I can override DOCKER_AUTH_CONFIG as a variable and it works but if I remove the variable it is still set to another value and I can’t determine where this value is so I can remove it.
Which troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
I’ve looked at the runner’s config.toml and the value set in it is the correct value and differs from the value I’m seeing.
I’ve looked for any variables set at different group levels and on the project and as far as I can tell there are none.
Steps to reproduce
Remove the variable set at the group level.
Run the pipeline again
Fails because $DOCKER_AUTH_CONFIG is incorrect
Configuration
Add the CI/CD configuration from .gitlab-ci.yml
and other configuration if relevant (e.g. docker-compose.yml). Alternatively, create a public GitLab.com
example project that provides all necessary files to reproduce the question.
Versions
Please select whether options apply, and add the version information.
- [ x] Self-managed
-
GitLab.com
SaaS - Dedicated
- [ x] Self-hosted Runners
Versions
- GitLab 17.3.2
- GitLab Runner, if self-hosted 17.3.1
Helpful resources
- Check the FAQ for helpful documentation, issues/bugs/feature proposals, and troubleshooting tips.
- Before opening a new topic, make sure to search for keywords in the forum search
- Check the GitLab and GitLab Runner projects for existing issues. If you encounter a bug, please create a bug report issue.
- Review existing troubleshooting docs.
Thanks for taking the time to be thorough in your request, it really helps!