From 31aa20abd8b371c1e38cb8616b6ecc1c7dc63794 Mon Sep 17 00:00:00 2001 From: neckfire Date: Mon, 13 Jul 2026 02:37:11 +0200 Subject: [PATCH] =?UTF-8?q?fix(ci):=20publier=20en=20configuration=20'Seas?= =?UTF-8?q?on=202=20Release'=20(client=20S2=20d=C3=A9ploy=C3=A9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le code sélectionne la saison via #if SEASON_2_RELEASE ; sans cette config le build échoue (#error Unsupported build type). Build validé en local. Co-Authored-By: Claude Opus 4.8 --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b86fc63..7c7831e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,10 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY src/ ./src/ -RUN dotnet restore src/Prospect.Server.Api/Prospect.Server.Api.csproj \ - && dotnet publish src/Prospect.Server.Api/Prospect.Server.Api.csproj \ - -c Release -o /app --no-restore +# Configuration "Season 2 Release" = build qui correspond au client S2 déployé +# (le code sélectionne la saison via des #if SEASON_2_RELEASE / SEASON_3_RELEASE). +RUN dotnet publish src/Prospect.Server.Api/Prospect.Server.Api.csproj \ + -c "Season 2 Release" -o /app FROM mcr.microsoft.com/dotnet/aspnet:8.0 WORKDIR /app