diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4a8dfd8120ea5162570bf62839d26377e7e29d2e..804ea4d681206cf5712db304de05980d4c3757ea 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -191,7 +191,7 @@ build-doc:
    - docker
 
   stage: doc
-  image: python:3.5
+  image: python:3.6
 
   script:
     - bash ./.ci/build_doc.sh
@@ -212,7 +212,7 @@ build-pypi-dist:
   <<: *patch_version
 
   stage: build
-  image: python:3.5
+  image: python:3.6
 
   tags:
     - docker
@@ -236,7 +236,7 @@ deploy-doc:
   <<: *setup_ssh
   stage: deploy
   when:  manual
-  image: python:3.5
+  image: python:3.6
 
   tags:
     - docker
@@ -253,7 +253,7 @@ deploy-pypi:
   <<: *setup_ssh
   stage: deploy
   when:  manual
-  image: python:3.5
+  image: python:3.6
 
   tags:
     - docker