diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 6cb33149..8f5fbaef 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -64,3 +64,5 @@ jobs: with: push: 'true' tags: rpcs3/discord-bot:${{ env.GITHUB_RUN_NUMBER_WITH_OFFSET }},rpcs3/discord-bot:release-latest,rpcs3/discord-bot:latest + build-args: | + BUILDKIT_CONTEXT_KEEP_GIT_DIR=true \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 2385c92a..4bd30c1b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN apt-get install -y --allow-unauthenticated libc6-dev libgdiplus libx11-dev f WORKDIR /src COPY . . #RUN rm -rf ./packages -#RUN git status +RUN git status # Build and test everything RUN dotnet restore "CompatBot/CompatBot.csproj" RUN dotnet build "CompatBot/CompatBot.csproj" -c Release