Skip to content

Commit

Permalink
chore: remove docker credentials for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
JenniferMah committed Jul 29, 2021
1 parent 30cc08a commit 4c32c52
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -3,7 +3,9 @@ env:
- version=1.14
- version=1.15
script:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- if [[ "$TRAVIS_BRANCH" == "main" || "$TRAVIS_BRANCH" == "travis" ]] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin;
fi
- make test-docker
after_success:
- bash <(curl -s https://codecov.io/bash)
Expand Down

0 comments on commit 4c32c52

Please sign in to comment.