#!/usr/bin/env bash
docker login -u richard -p $DKREGISTRY_PASS $DKREGISTRY

docker build --rm -f Dockerfile -t mondrian:latest .
docker run --rm mondrian:latest --version | grep 'Mondrian'
docker tag mondrian:latest dkregistry.xai-corp.net:5000/xaicorp/qa/mondrian:latest
docker push dkregistry.xai-corp.net:5000/xaicorp/qa/mondrian:latest
