diff --git a/build.sh b/build.sh index 12ec0faa7..c53d60562 100755 --- a/build.sh +++ b/build.sh @@ -1,2 +1,4 @@ -docker build -t quay.io/quay/quay:`git rev-parse --short HEAD` . -echo quay.io/quay/quay:`git rev-parse --short HEAD` \ No newline at end of file +TAG=$(git rev-parse --short HEAD)$(test -n "$(git status --porcelain)" && echo -dirty) +REPO=quay.io/quay/quay:$TAG +docker build -t $REPO . +echo $REPO