Contributors: Thamme Gowda
Update the version to $VERSION=x.y.z
mvn versions:set -DnewVersion=$VERSION
mvn versions:commit
mvn clean package
docker build -f sparkler-deployment/docker/Dockerfile . -t sparkler-local
docker login
# the account should have push permission to repo https://hub.docker.com/r/uscdatascience/sparkler
docker tag sparkler-local uscdatascience/sparkler:$VERSION
docker push uscdatascience/sparkler:$VERSION
# Also make it as local
docker tag sparkler-local uscdatascience/sparkler:latest
docker push uscdatascience/sparkler:latest
TODO: complete this It is work in progress https://issues.sonatype.org/browse/OSSRH-36816