Skip to content

Commit 570cba9

Browse files
committed
Mount the .git dir in the Docker container
1 parent 6abb558 commit 570cba9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build-tutorials.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ jobs:
8989
--shm-size=2gb \
9090
--name="${container_name}" \
9191
-v "${GITHUB_WORKSPACE}:/var/lib/workspace" \
92+
-v "${GITHUB_WORKSPACE}/.git:/var/lib/workspace/.git" \ # Mount the .git directory
9293
-w /var/lib/workspace \
9394
"${DOCKER_IMAGE}"
9495
)

0 commit comments

Comments
 (0)