#!/bin/sh

set -e

TAG=${1:-latest}
REGISTRY=${2:-theia}

echo $TAG

docker build --build-arg "version=$TAG" . -t "$REGISTRY:$TAG" --no-cache