From 36612b6bf0648e066ccaad8665a2b026f3001307 Mon Sep 17 00:00:00 2001 From: "soroush.asadi" Date: Mon, 8 Jun 2026 19:44:57 +0330 Subject: [PATCH] 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 --- .gitea/workflows/ci-cd.yml | 12 ++++++------ nuget.docker.config | 13 +++++++------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 269d6a0..c384512 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -39,18 +39,18 @@ jobs: git fetch --depth=1 origin "${REF}" git checkout FETCH_HEAD - - name: Write NuGet config (Liara primary; Nexus optional) - # NOTE: mirror.soroushasadi.com currently serves an incomplete TLS chain - # (leaf only, no intermediate). .NET on Linux does NOT auto-fetch the - # intermediate via AIA the way Windows does, so it fails with PartialChain. - # Liara serves a complete chain, so it is the deterministic source here. - # Re-add Nexus once nginx points ssl_certificate at fullchain.pem. + - name: Write NuGet config (Nexus group primary; Liara fallback) + # Nexus nuget-group is the primary mirror; Liara is kept as a fallback so a + # single mirror outage (e.g. a 500 on the service index) doesn't break restore. run: | cat > /tmp/nuget.ci.config << 'EOF' + diff --git a/nuget.docker.config b/nuget.docker.config index 7b2da98..d4e6f4a 100644 --- a/nuget.docker.config +++ b/nuget.docker.config @@ -1,15 +1,16 @@ +