diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e129ce1e65514efeb92db9a0d65e2cc4f63d3c63..99e9559a651b07effdb6a96d11668ee0657ceafb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,4 +15,4 @@ packagist:
         --user-agent 'irstea-ci-config/6.x (contact: dsi.poleis@irstea.fr)' \
         --fail \
         "https://packagist.org/api/update-package?username=${PACKAGIST_USERNAME}&apiToken=${PACKAGIST_TOKEN}" \
-        --data '{"repository":{"url":"'${CI_REPOSITORY_URL}'"}}'
+        --data '{"repository":{"url":"https://'${CI_SERVER_HOST}'/'${CI_PROJECT_PATH}'.git"}}'