Autodeploy to docker hub

This commit is contained in:
Amin Vakil 2020-05-30 15:47:59 +04:30
parent 49a6bdb68f
commit 14b6d14f2b
No known key found for this signature in database
GPG key ID: 1EFC1864E9D9E56B

View file

@ -24,3 +24,6 @@ script:
- nc 127.0.0.1 ${CLIENT_PORT} < /dev/null
- hadolint Dockerfile
- docker stop ${DOCKERCONTAINER} && docker rm -fv ${DOCKERCONTAINER}
- docker tag ${TRAVIS_REPO_SLUG}:${TRAVIS_COMMIT} aminvakil/alpine-ftp-server-tls
- echo "$DOCKER_PASSWORD" | docker login -u aminvakil --password-stdin
- docker push aminvakil/alpine-ftp-server-tls