docker hub - fetch git tags before build #3781

This commit is contained in:
Alex Sharov 2022-03-29 13:46:21 +07:00 committed by GitHub
parent 477d04f669
commit c52f000906
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,3 +2,5 @@
# Docker hub does a recursive clone, then checks the branch out, # Docker hub does a recursive clone, then checks the branch out,
# so when a PR adds a submodule (or updates it), it fails. # so when a PR adds a submodule (or updates it), it fails.
git submodule update --init --recursive git submodule update --init --recursive
git fetch --tags