Skip to content
This repository was archived by the owner on Jun 24, 2020. It is now read-only.

Commit 39312c6

Browse files
committed
travis ci deploy to docker hub.
1 parent a8e818b commit 39312c6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,9 @@ services:
55

66
script:
77
- docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF="$TRAVIS_COMMIT" -t computerfr33k/burp-server:"$TRAVIS_BRANCH" .
8+
9+
after_success:
10+
- if [ ! "$TRAVIS_PULL_REQUEST" ]; then
11+
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
12+
docker push USER/REPO;
13+
fi

0 commit comments

Comments
 (0)