Added dockerized database and deploy stage

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

00:00:12

failed test #90218

00:00:34

 
Name Stage Failure
failed
test Test
Running run-migrations.sh with database user postgres on postgres table obm_buildings 
psql: error: 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: error: 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 200.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