]> git.sur5r.net Git - i3/i3/blob - travis/docker-build-and-push.sh
travis: check spelling of binaries and manpages, use docker
[i3/i3] / travis / docker-build-and-push.sh
1 #!/bin/sh
2
3 set -e
4
5 # .dockerignore is created on demand so that release.sh and other scripts are
6 # not influenced by our travis setup.
7 echo .git > .dockerignore
8
9 docker build --pull --no-cache --rm -t=${BASENAME} -f travis-build.Dockerfile .
10 docker login -e ${DOCKER_EMAIL} -u ${DOCKER_USER} -p ${DOCKER_PASS}
11 docker push ${BASENAME}