From 920c996892dac634f248ab4bd86e1dcd5788e037 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 6 Mar 2025 12:07:43 -0800 Subject: [PATCH] fix: I beg, actions, work pls (#741) * fix: I beg, actions, work pls * fix: problem was from docker action!! O.O --- .github/workflows/docker.yml | 2 ++ Dockerfile | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8b807db8..534c4ca2 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -56,3 +56,5 @@ jobs: ${{ secrets.DOCKERHUB_USERNAME }}/zipline:v3-trunk-${{ steps.version.outputs.zipline_commit }} cache-from: type=gha cache-to: type=gha,mode=max + build-args: | + BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 diff --git a/Dockerfile b/Dockerfile index 0a18f028..74b5eada 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,7 +56,8 @@ ENV PRISMA_QUERY_ENGINE_BINARY=/prisma-engines/query-engine \ NEXT_TELEMETRY_DISABLED=1 # Copy only the necessary files from the previous stage -COPY --from=builder /zipline/.git ./.git +COPY --from=builder /zipline/.git/refs ./.git/refs +COPY --from=builder /zipline/.git/HEAD ./.git/HEAD COPY --from=builder /zipline/dist ./dist COPY --from=builder /zipline/.next ./.next