diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e4d36d1f6902d2eeb9f511270481f296c7b4fdb3..19b227146b1ab1f2806f26b7f7c3c2d83b227ff8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -28,6 +28,7 @@ build_asset_images:
     - docker compose push composer assets
   after_script:
     - docker logout $CI_REGISTRY
+    - source .env
     - echo "COMPOSER_VERSION=$COMPOSER_VERSION" > .composerversion.env
   artifacts:
     reports: