Skip to content

Commit

Permalink
Include .git in build
Browse files Browse the repository at this point in the history
  • Loading branch information
julianbrost committed Jul 25, 2024
1 parent 6fe164d commit 2a2ce8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ jobs:
platforms: linux/amd64,linux/arm64
push: false
tags: ${{ steps.meta.outputs.tags }}
# Keep the .git to allow including the commit in the --version output, see also:
# https://docs.docker.com/build/building/context/#keep-git-directory
build-args: |
BUILDKIT_CONTEXT_KEEP_GIT_DIR=1

0 comments on commit 2a2ce8b

Please sign in to comment.