]> ruderich.org/simon Gitweb - nsscash/nsscash.git/blobdiff - .gitlab-ci.yml
.gitlab-ci.yml: fix clone error
[nsscash/nsscash.git] / .gitlab-ci.yml
index c43c98351cffaa8043979af139df2a1e8fc637d4..9d8b58cc8c00b22ab19c2fb0fa49ab56980beea6 100644 (file)
@@ -9,6 +9,12 @@
     - chown -R nobody .
     # Empty TEST_* as -fsanitize doesn't work in a Docker container
     - runuser -p -u nobody -- ./ci/run TEST_CFLAGS= TEST_LDFLAGS=
+  variables:
+    # The chown to nobody above causes permissions errors in recent Git
+    # versions "fatal: detected dubious ownership in repository [...] To add
+    # an exception for this directory, call: git config --global --add
+    # safe.directory [...]".
+    GIT_STRATEGY: clone
 
 debian-stable:
   <<: *template-docker