Skip to content

Commit 77e94a0

Browse files
authored
Added hooks/post_checkout to handle dockerhub build failures (#425)
1 parent 9cb7791 commit 77e94a0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hooks/post_checkout

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
# Docker hub does a recursive clone, then checks the branch out,
3+
# so when a PR adds a submodule (or updates it), it fails.
4+
git submodule update --init --recursive
5+

0 commit comments

Comments
 (0)