Add nuget.config with Gitea package source for MarketAlly.* packages and credential configuration using environment variables. Remove nuget.config from .gitignore to track package source configuration while keeping credentials secure through environment variable substitution.
23 lines
723 B
XML
23 lines
723 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<configuration>
|
|
<packageSources>
|
|
<clear />
|
|
<add key="gitea" value="https://git.marketally.com/api/packages/marketally/nuget/index.json" />
|
|
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
|
|
</packageSources>
|
|
<packageSourceMapping>
|
|
<packageSource key="gitea">
|
|
<package pattern="MarketAlly.*" />
|
|
</packageSource>
|
|
<packageSource key="nuget.org">
|
|
<package pattern="*" />
|
|
</packageSource>
|
|
</packageSourceMapping>
|
|
<packageSourceCredentials>
|
|
<gitea>
|
|
<add key="Username" value="%NUGET_USER%" />
|
|
<add key="ClearTextPassword" value="%NUGET_TOKEN%" />
|
|
</gitea>
|
|
</packageSourceCredentials>
|
|
</configuration>
|