Skip to content

Commit

Permalink
fix docker login
Browse files Browse the repository at this point in the history
  • Loading branch information
Hermsi1337 committed Mar 18, 2020
1 parent 4c2b11a commit 4a1b7bb
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,7 @@ script:
- curl -sL https://git.io/goreleaser | bash -s -- --snapshot --skip-publish --rm-dist

before_deploy:
- >
if
[[ -n "${DOCKER_LOGIN_USERNAME}" ]] &&
[[ -n "${DOCKER_LOGIN_PASSWORD}" ]]; then
docker login
-u "${DOCKER_LOGIN_USERNAME}"
-p "${DOCKER_LOGIN_PASSWORD}"
quay.io
; fi
- docker login -u "${DOCKER_LOGIN_USERNAME}" -p "${DOCKER_LOGIN_PASSWORD}" quay.io
deploy:
- provider: script
skip_cleanup: true
Expand Down

0 comments on commit 4a1b7bb

Please sign in to comment.