fix(templateTaskGenerator): добавлен аргумент app_version

This commit is contained in:
Mikhail Kuznetsov
2025-08-26 14:20:01 +10:00
parent 477a6f9f5b
commit b288888d7a

View File

@@ -24,6 +24,7 @@ RUN dotnet build "./PARR.TemplateTaskGeneratorWorker.csproj" -c $BUILD_CONFIGURA
# This stage is used to publish the service project to be copied to the final stage
FROM build AS publish
ARG BUILD_CONFIGURATION=Release
ARG app_version=0.0.0-default
RUN dotnet publish "./PARR.TemplateTaskGeneratorWorker.csproj" -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false /p:Version=$app_version
# This stage is used in production or when running from VS in regular mode (Default when not using the Debug configuration)