include git refs and HEAD file in docker images to allow GIT_SHA of builds to show in version output

This commit is contained in:
Nick Sweeting
2024-01-03 18:59:45 -08:00
parent 4af9beedd1
commit b0da386793
2 changed files with 4 additions and 2 deletions

View File

@@ -5,10 +5,12 @@ __pycache__/
.mypy_cache/
.pytest_cache/
.github/
.git/
.pdm-build/
.pdm-python
.eggs/
.git/
!.git/HEAD
!.git/refs/heads/*
venv/
.venv/