From c428032a8b06d4388b147007f3c248bd8ae7ea54 Mon Sep 17 00:00:00 2001 From: Arpit Mohan Date: Wed, 11 Mar 2020 16:38:56 +0530 Subject: [PATCH] Trying to get docker:dind to work on Gitlab CI At the moment Gitlab CI is failing because it's unable to find the docker service --- app/client/.gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/client/.gitlab-ci.yml b/app/client/.gitlab-ci.yml index fff84105c1..7d38185c39 100644 --- a/app/client/.gitlab-ci.yml +++ b/app/client/.gitlab-ci.yml @@ -60,6 +60,8 @@ cypress-test: docker-package-release: image: docker:dind + services: + - docker:dind stage: package script: - docker build --build-arg REACT_APP_ENVIRONMENT=STAGING --build-arg GIT_SHA=$CI_COMMIT_SHORT_SHA -t appsmith/appsmith-editor:release . @@ -70,6 +72,8 @@ docker-package-release: docker-package-prod: image: docker:dind + services: + - docker:dind stage: package script: - docker build --build-arg REACT_APP_ENVIRONMENT=PRODUCTION --build-arg GIT_SHA=$CI_COMMIT_SHORT_SHA -t appsmith/appsmith-editor:latest .