Open 7wingfly opened 2 months ago
For PowerShellGet, you need to pass the cred object to the install command each time. For PSResourceGet (the new version), we are working with the PowerShell folks to support credential providers here. Until then, there is the SecretManagement and SecretStore modules.
How is this supposed to work in a Linux docker container with
Register-PSRepository
/Register-PackageSource
? I seem to be having the same issue that's described here where these commands fail due to a missing file (possibly nuget.exe)I'm setting this up in my docker file like so:
But when I run the
Register-PSRepository
command I get these errorsThe plugin does seem to work by itself in that its able to find the credentials with this command
If I register the package source and then attempt to install a module I get similar errors
What am I missing here?