Add .git dir to Docker; used to bake git sha into binary
This commit is contained in:
parent
d204b46c18
commit
4670890a82
@ -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
|
./*.md
|
||||||
./*.yaml
|
./*.yaml
|
||||||
./apis
|
./apis
|
||||||
|
Loading…
Reference in New Issue
Block a user