This commit is contained in:
Sergey Bogatyrets 2017-04-24 23:30:15 +03:00
parent 9720cdac95
commit 29c3ff69c4

View File

@ -14,9 +14,10 @@ jobs:
curl -L -o /tmp/docker-$VER.tgz https://get.docker.com/builds/Linux/x86_64/docker-$VER.tgz curl -L -o /tmp/docker-$VER.tgz https://get.docker.com/builds/Linux/x86_64/docker-$VER.tgz
tar -xz -C /tmp -f /tmp/docker-$VER.tgz tar -xz -C /tmp -f /tmp/docker-$VER.tgz
mv /tmp/docker/* /usr/bin mv /tmp/docker/* /usr/bin
- run: | - run:
name: Build Docker image name: Build Docker image
docker build -t serjs/go-socks5-proxy . command:
docker build -t serjs/go-socks5-proxy .
- deploy: - deploy:
command: | command: |
docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASSWORD