#!/bin/bash

VERSION=$1

echo "${VERSION}" > VERSION
docker build \
        --build-arg VERSION=$VERSION \
	-t registry.hiperpbx.com/web-console:$VERSION \
	.

docker push registry.hiperpbx.com/web-console:$VERSION
