Full-Stack Ruby on Rails application running the Pen&PaperBox
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
386 B

VERSION=`docker run -v $(pwd):/repo gittools/gitversion:5.3.5-linux-alpine.3.10-x64-netcoreapp3.1 /repo /showvariable SemVer`
docker-compose build --pull --build-arg app_version=$VERSION development || exit 1
docker tag ${PWD##*/}_development:latest docker.mbober.de/charxchange:$VERSION || exit 2
echo "Tagged docker.mbober.de/charxchange:$VERSION"