Files
hamkadr/nuget.docker.config
soroush.asadi 69a630d185 CI/Docker NuGet: Nexus-only (drop Liara fallback)
NuGet loads the service index of EVERY listed source, so a 500 from the
Liara fallback aborted the whole restore (NU1301) even though Nexus was
healthy. Mirror cert chain is fixed now, so use our Nexus mirror as the
single source of truth.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 21:10:56 +03:30

21 lines
794 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
NuGet source for the Docker image build (Linux .NET — runs `dotnet restore`
inside the SDK container). Single source = our Nexus mirror. We deliberately
do NOT list a fallback: NuGet loads the service index of every configured
source, so a 500 from a fallback would abort the whole restore. nuget.org is
filtered in Iran and is intentionally absent — Nexus is the source of truth.
-->
<configuration>
<packageSources>
<clear />
<add key="nexus"
value="https://mirror.soroushasadi.com/repository/nuget-group/index.json"
protocolVersion="3" />
</packageSources>
<config>
<add key="http_retry_count" value="8" />
<add key="http_retry_delay_milliseconds" value="1000" />
</config>
</configuration>