Skip to content

Commit

Permalink
Fix cannot get correct version
Browse files Browse the repository at this point in the history
Keep the .git folder at compile time to get the correct version

Signed-off-by: 0x7d274284 <[email protected]>
  • Loading branch information
0x7d274284 authored Nov 12, 2023
1 parent 8817a9c commit 3b115c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 3b115c3

Please sign in to comment.