diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index be513791fe9791aff27b56118784f5c0bcce64d0..5f180e51b56b9d7fe7e6f98def91e6f31cec8fe2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -549,8 +549,7 @@ release-helm:
     - helm registry login --username "${CI_REGISTRY_USER}" --password "${CI_REGISTRY_PASSWORD}" "${CI_REGISTRY_URL}"
     - helm registry login --username "${CI_REGISTRY2_USER}" --password "${CI_REGISTRY2_PASSWORD}" "${CI_REGISTRY2_URL}"
     - make build-helm
-    - ls -la ~/.gnupg
-    - "gpg --import-ownertrust ~/.gnupg/trustdb.gpg"
+    - "gpg --import-ownertrust < ~/.gnupg/trustdb.gpg"
     - "helm package ./helm/dbrepo --sign --key 'Martin Weise' --keyring ~/.gnupg/secring.gpg --destination ./build"
     - "helm plugin install https://github.com/sigstore/helm-sigstore"
   script: