#!/usr/bin/env bash

SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"

pushd $SCRIPTPATH

podman login -u iri -p "${REGISTRY_PASSWORD}" reg.kevin.srv.iri-research.org

podman build -f docker/server.dockerfile -t reg.kevin.srv.iri-research.org/iri/catedit_server:latest .

podman push reg.kevin.srv.iri-research.org/iri/catedit_server:latest

popd
