diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 354eec9f9e53afa03edb6d50bcd1ba01d8a7816c..4a59cc3dc20aa7a58a782a15bbb52a113dff4620 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -13,8 +13,17 @@
 # [1]: http://julialang.org/
 # [2]: https://docs.julialang.org/en/v1/manual/documentation/index.html
 
+variables:
+  CI_REGISTRY_IMAGE: $CI_REGISTRY/caosdb/src/caosdb-julialib/testenv:latest
+
+stages:
+  - test
+  - deploy
+
 # Below is the template to run your tests in Julia
 .test_template: &test_definition
+  # Use `docker` runners
+  tags: [ docker ]
   # Uncomment below if you would like to run the tests on specific
   # references only, such as the branches `master`, `development`,
   # etc.
@@ -57,7 +66,8 @@ test:1.6:
 
 # Example documentation deployment
 pages:
-  image: julia:0.7
+  tags: [ cached-dind ]
+  image: julia:1.0
   stage: deploy
   script:
     - apt-get update -qq && apt-get install -y git # needed by Documenter