Added dockerized database and deploy stage

2 jobs for 4-build-docker-artifact in 31 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
failed deploy #90211
dind

00:00:11

failed test #90210

00:00:31

 
Name Stage Failure
failed
test Test
Running run-migrations.sh with database user postgres on postgres table obm_tiles 
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
createdb: could not connect to database template1: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
deploy Test
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded
$ docker build --pull -t $IMAGE_TAG .
Sending build context to Docker daemon 179.7kB
Step 1/3 : FROM $CI_REGISTRY/dynamicexposure/server-components/containers/docker-obm-database:master
invalid reference format
Cleaning up file based variables
ERROR: Job failed: exit code 1