Added dockerized database and deploy stage

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

00:00:11

failed test #90212

00:00:32

 
Name Stage Failure
failed
test Test
update-alternatives: warning: skip creation of /usr/share/man/man1/mailx.1.gz because associated file /usr/share/man/man1/mail.mailutils.1.gz (of link group mailx) doesn't exist
update-alternatives: warning: skip creation of /usr/share/man/man1/mail.1.gz because associated file /usr/share/man/man1/mail.mailutils.1.gz (of link group mailx) doesn't exist
Processing triggers for libc-bin (2.28-10) ...
$ ./run-migrations.sh -u postgres -h postgres
Running run-migrations.sh with database user postgres on postgres table obm_buildings
Running script 00001_create-main-table
psql: FATAL: database "obm_buildings" does not exist
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 250.4kB
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