diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5c40f35a6e9e94d95746e424eb02b3abf53580af..043135bea2e9bcb44aa6061a9a24eaa4af91f6a7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,7 +75,7 @@ test_nonfree_code:
   stage: test-after-build
   image: registry.funkwhale.audio/funkwhale/ci/android-fdroidserver
   script:
-    - fdroid scanner -v app/build/outputs/apk/debug/app-debug.apk |& tee output.txt
+    - fdroid scanner -v app/build/outputs/apk/*/app-*.apk |& tee output.txt
     - cat output.txt
     - (! grep "CRITICAL" output.txt)