Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
anandtiwarics committed Sep 22, 2018
1 parent 92831a0 commit d62c034
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Expand Up @@ -17,7 +17,7 @@ services:
before_script:
- export -f travis_fold
- export REPO=archerysec/archerysec
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`
- export TRAVIS_TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH ; fi`

script:
- |
Expand Down Expand Up @@ -52,5 +52,5 @@ after_success:
if [ "$TRAVIS_TAG" != "" ] && [ "$DOCKER_USER" != "" ] && [ "$DOCKER_PASS" != "" ]; then
docker tag $REPO $REPO:$TRAVIS_TAG
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS";
docker push $REPO:latest ;
fi
docker push $REPO ;
fi
2 changes: 1 addition & 1 deletion integration-test.sh
Expand Up @@ -9,7 +9,7 @@ docker logs $CONTAINER_NAME
pip install bandit
docker ps -a
docker logs $CONTAINER_NAME
echo "Checking to see if dojo is running"
echo "Checking to see if Archery is running"

# Check whether the container is running and came up as expected
set +e
Expand Down

0 comments on commit d62c034

Please sign in to comment.