Revert "fix: bypass broken Nexus, use nuget.org + local proto build"
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 1m28s

This reverts commit 7147e9930f.
This commit is contained in:
masoodafar-web
2026-03-12 00:06:24 +03:30
parent 7147e9930f
commit aa1d21a616
3 changed files with 9 additions and 20 deletions
+1 -2
View File
@@ -1,9 +1,8 @@
FROM 194.5.195.53:32082/dotnet/sdk:9.0 AS build
WORKDIR /src
# Copy NuGet config, local packages, and project file
# Copy NuGet config and project file
COPY ["BackOffice/NuGet.config", "NuGet.config"]
COPY ["nupkg/", "nupkg/"]
COPY ["BackOffice/BackOffice.csproj", "BackOffice/"]
# Restore dependencies
+8 -3
View File
@@ -2,10 +2,15 @@
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
<!-- Local packages (dev builds) -->
<add key="Local" value="/home/masoud/Apps/project/FourSat/nupkg" />
<!-- Local packages (CI Docker builds) -->
<add key="LocalCI" value="nupkg" />
<!-- Nexus (hosts FourSat packages + proxies nuget.org) -->
<add key="Nexus" value="http://194.5.195.53:32081/repository/nuget-all/index.json" allowInsecureConnections="true" />
</packageSources>
<packageSourceCredentials>
<Nexus>
<add key="Username" value="admin" />
<add key="ClearTextPassword" value="87zH26nbqT" />
</Nexus>
</packageSourceCredentials>
</configuration>