I am working on a .NET Core web application in Visual Studio 2022.
I have a nuget package on my github and I am trying to add the github page as a source. I have generated my github PAT and authorized it, and added the package url in package sources:
However, when I run docker-compose
, it fails with the message
failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c dotnet nuget add source --username USERNAME_NOT_REQUIRED --password $GITHUB_PACKAGE_PAT --store-password-in-clear-text --name github_mygithub_om_registry "https://nuget.pkg.github.com/MyGithub/index.json"]: exit code: 1 If the error persists, try restarting Docker Desktop
It seems to be related to a local setting, because other team members are able to build the project, and we have the same docker config settings.