diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 11cb3cb729cf0c9984229904ba67a95ac2f22454..0ae0ea3198aa5c8d1335afe9fa4579b822c9ee6f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,6 +11,9 @@ publish_npm:
     - apk add --update make
     - apk add --update protobuf-dev
     - apk add --update yarn
+    - apk add --update git
+    - git config --global http.sslVerify "false"
+    - git submodule init
 
   rules:
     - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'