From 1a3ffada92b0521c4c4e7ae8364aab151c65c377 Mon Sep 17 00:00:00 2001 From: ruberoid Date: Fri, 17 Oct 2025 12:26:22 +0400 Subject: [PATCH] copy nuget.config while deploy to every submodule. --- src/Nocr.TextMatcher.Host/Dockerfile | 4 ++-- src/Nocr.TextMatcher.Migrator/Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Nocr.TextMatcher.Host/Dockerfile b/src/Nocr.TextMatcher.Host/Dockerfile index 482096c..d5519b6 100644 --- a/src/Nocr.TextMatcher.Host/Dockerfile +++ b/src/Nocr.TextMatcher.Host/Dockerfile @@ -16,8 +16,8 @@ RUN apt-get update && \ update-ca-certificates && \ rm -rf /var/lib/apt/lists/* -# Copy nuget.config from parent repository root -COPY ../../nuget.config /root/.nuget/NuGet/NuGet.Config +# Copy nuget.config (copied to submodule root by CI/CD) +COPY nuget.config /root/.nuget/NuGet/NuGet.Config COPY . . diff --git a/src/Nocr.TextMatcher.Migrator/Dockerfile b/src/Nocr.TextMatcher.Migrator/Dockerfile index 21acbad..081a73a 100644 --- a/src/Nocr.TextMatcher.Migrator/Dockerfile +++ b/src/Nocr.TextMatcher.Migrator/Dockerfile @@ -10,8 +10,8 @@ RUN apt-get update && \ update-ca-certificates && \ rm -rf /var/lib/apt/lists/* -# Copy nuget.config from parent repository root -COPY ../../nuget.config /root/.nuget/NuGet/NuGet.Config +# Copy nuget.config (copied to submodule root by CI/CD) +COPY nuget.config /root/.nuget/NuGet/NuGet.Config COPY . .