Add .git dir to Docker; used to bake git sha into binary

This commit is contained in:
Ryan Richard 2021-07-16 09:51:46 -07:00
parent d204b46c18
commit 4670890a82
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
./.*
# Allow .git to get copied into the container so we can use it in hack/get-ldflags.sh during build.
!/.git
./*.md
./*.yaml
./apis