Tavis-ci to upload images to the Docker hub, after succesfull tests.

For this to work, the following variables will need to be set at Docker hub:
 - DOCKER_ORG	first part of docker repo name (example: mailu)
 - DOCKER_UN	Docker-hub login username (private)
 - DOCKER_PW	Docker-hub login password (private)
Note that also Docker hub autobuilds will have to be disabled.
This commit is contained in:
Tim Möhlmann
2018-10-05 11:51:35 +03:00
parent 20f37607bb
commit 5987703631
3 changed files with 19 additions and 11 deletions

4
tests/deploy.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
docker login -u $DOCKER_UN -p $DOCKER_PW
docker-compose -f tests/build.yml push