Skip to content

Commit

Permalink
fix:Added docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
tasneem067 authored Feb 12, 2021
1 parent c75c839 commit 4d18ac6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ services:
- docker

before_install:
- echo 'DOCKER_OPTS="$DOCKER_OPTS --registry-mirror=https://mirror.gcr.io"'
- sudo service docker restart

- docker login -u "icdevops@us.ibm.com" -p="${DOCKERHUB_TOKEN}"

script:
# Audit npm packages. Fail build whan a PR audit fails, otherwise report the vulnerability and proceed.
- if [ "${TRAVIS_PULL_REQUEST}" != "false" ]; then npx audit-ci --low -a node-fetch; else npx audit-ci --low -a node-fetch || true; fi
Expand Down

0 comments on commit 4d18ac6

Please sign in to comment.