Files
hamkadr/nuget.docker.config
T
soroush.asadi 36612b6bf0
CI/CD / CI · dotnet build (push) Failing after 42s
CI/CD / Deploy · hamkadr (push) Has been skipped
CI/Docker NuGet: Nexus nuget-group primary + Liara fallback
Both the CI restore (/tmp/nuget.ci.config) and the Docker image build
(nuget.docker.config) now use https://mirror.soroushasadi.com/repository/
nuget-group/ as the primary source with Liara as fallback, so a single
mirror returning 500 no longer breaks restore.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 19:44:57 +03:30

23 lines
818 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
NuGet sources for the Docker image build (Linux .NET — runs `dotnet restore`
inside the SDK container). Nexus nuget-group is primary; Liara is kept as a
fallback so a single mirror outage doesn't break the build. nuget.org is
filtered in Iran, so it is intentionally not listed.
-->
<configuration>
<packageSources>
<clear />
<add key="nexus"
value="https://mirror.soroushasadi.com/repository/nuget-group/index.json"
protocolVersion="3" />
<add key="liara"
value="https://package-mirror.liara.ir/repository/nuget/index.json"
protocolVersion="3" />
</packageSources>
<config>
<add key="http_retry_count" value="8" />
<add key="http_retry_delay_milliseconds" value="1000" />
</config>
</configuration>