Bläddra i källkod

Fix Dockerfile

Keep the .git folder at compile time to get the correct version

Signed-off-by: 0x7d274284 <[email protected]>
0x7d274284 1 år sedan
förälder
incheckning
7a679bc328
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2 0
      .github/workflows/docker.yml

+ 2 - 0
.github/workflows/docker.yml

@@ -39,6 +39,8 @@ jobs:
         with:
           platforms: linux/386,linux/amd64,linux/arm64,linux/s390x
           target: dist
+          build-args: |
+            BUILDKIT_CONTEXT_KEEP_GIT_DIR=1
           tags: |
             ${{ steps.tag.outputs.latest }}
             ${{ steps.tag.outputs.versioned }}