diff --git a/dockerbuild.sh-dist b/dockerbuild.sh-dist new file mode 100755 index 0000000..3b07f12 --- /dev/null +++ b/dockerbuild.sh-dist @@ -0,0 +1,6 @@ +#!/bin/sh +VERSION=`git rev-parse --abbrev-ref HEAD` +BUILD=`git rev-list HEAD --count` +echo $VERSION-$BUILD +docker build -t dr.dnix.de/flokatirc:$VERSION-$BUILD -f Dockerfile . +docker push dr.dnix.de/flokatirc:$VERSION-$BUILD