Skip to content

Commit

Permalink
also push as latest
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Apr 13, 2020
1 parent 0465169 commit 130afee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker_push.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash -e
docker build -t tcpproxy .
docker tag tcpproxy $DOCKER_USERNAME/tcpproxy:${TRAVIS_TAG:1}
docker tag tcpproxy $DOCKER_USERNAME/tcpproxy:latest
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
docker push $DOCKER_USERNAME/tcpproxy:${TRAVIS_TAG:1}
docker push $DOCKER_USERNAME/tcpproxy:latest

0 comments on commit 130afee

Please sign in to comment.