From 934bb00a61918fd1e958e8353428f36921a5bbd6 Mon Sep 17 00:00:00 2001
From: derrabauke <pfralf@googlemail.com>
Date: Fri, 12 Mar 2021 20:04:54 +0100
Subject: [PATCH] refine build stage with DinD image

---
 .gitlab-ci.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a68f99c..5458827 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -23,6 +23,8 @@ test_client:
     - cd app/client
     - npm install
     - npm run test
+  except:
+    - master # only for now to speed up dev
     
 test_server:
   stage: test
@@ -34,8 +36,15 @@ test_server:
     - cd app/server
     - npm install
     - npm run test
+  except:
+    - master # only for now to speed up dev
 
 build_client:
+  image: docker:19.03.12
+  services:
+    - docker:19.03.12-dind
   stage: build
   script:
     - docker build -f app/client/Dockerfile -t client:v0.0.1 client
+  only: 
+    - master
-- 
GitLab