diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b107d137cbb4675144972e1dbe283c1dad3bea0b..9d7766103173c902c470b8555de1046b39bf6b12 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,8 +7,8 @@ cache:
 
 before_script:
   - "export GRADLE_USER_HOME=$(pwd)/.gradle"
-  - "echo $SIGNING_properties | base64 -d > $GRADLE_USER_HOME/gradle.properties"
-  - "echo $SIGNING_secretKey | base64 -d > $GRADLE_USER_HOME/sonatype_upload.gpg"
+  - "echo $SIGNING_properties | base64 -d > .gradle/gradle.properties"
+  - "echo $SIGNING_secretKey | base64 -d > .gradle/sonatype_upload.gpg"
   - "chmod +x ./gradlew"
 
 stages: