Describe the bug
I'm trying to install a configuration package with remotes, profiles and user_settings.yml
in my CI/CD pipeline, but when I use conan config install-pkg mtx-config/1.0.0 --url <url>
it fails because of authentication.
I've tried using --url https://${user}:${token}@${server}
but this doesn't help.
I also already have the CONAN_LOGIN_USERNAME_<REMOTE>
and equivalent TOKEN environment variable set where <REMOTE>
is _tmp_conan_config
but that didn't work either.
The only way I could do this was to use set the username/token in the CONAN_LOGIN_USERNAME
and CONAN_LOGIN_TOKEN
env vars.
This is OK, but not ideal.
How to reproduce it
Just try to add a config from a remote which requires authentication using: conan config install-pkg mtx-config/1.0.0 --url <url>
.