forked from an/flokati
7 lines
225 B
Plaintext
7 lines
225 B
Plaintext
|
#!/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
|