Update .gitlab-ci.yml

3 jobs for master in 4 minutes and 2 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #2912
docker
build

00:00:51

 
  Test
passed #2913
docker
int-test

00:01:34

 
  Deploy
failed #2914
docker_build
docker-build

00:01:35

 
Name Stage Failure
failed
docker-build Deploy There is an unknown failure, please try again
pom.xml
README.md
src
target
$ docker --version
Docker version 1.13.1, build 092cba3
$ docker build -t 'demo-app:1.0.0' ./
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.26/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=demo-app%3A1.0.0&ulimits=null: dial unix /var/run/docker.sock: connect: permission denied
ERROR: Job failed: exit status 1