diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 43dfd74008644d024cca7dd63bfe26a7943294cd..bc981ffdee2251eb2adc7aa648ef8ecffc695ed1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,6 +10,8 @@ build:
   variables:
     DOCKER_HOST: tcp://docker:2376/
     DOCKER_DRIVER: overlay2
+    DOCKER_TLS_CERTDIR: /certs
+    DOCKER_TLS_VERIFY: 1
   script:
     - echo $DOCKERHUBUSER
     - echo $DOCKERHUBPASSWORD