From af03d7e9ef16bdbb03a9968b816d82086dee5cb2 Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Tue, 21 Apr 2020 13:55:56 +0200 Subject: [PATCH] travis.yml: run docker login in after_success --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cc6aaa41db..f16eff6808 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,10 +14,11 @@ env: global: - secure: eFuG5PSCXNz0i4Knic0wVmTko+O/epoLWpDtDs7jGHo3UD0JIukDTeIoHRPF56LEF3ZmfJWarc0XWZRSUmtn2EYydvCrTlroXLe6lfiFL/ctH0CWpArCp5xHQKVqKk+h6F53hAva3o181PfnFtk58H/xgj2jo8sANbqXricnL5aT34RVje85483poL2RLmd2WiYVqDqeGdkg7DaorpJra1mFvOCmInrbMpexpomJKmpCbxzrdvUmvRE9bDWLHctgvWL6bVTsQNzUN0zh6AIfT0FuFmiwjVlD5d4Bo10jUucg1qs4gglHneplPMoQb3dW7reeE1hIjuZSjXmDZKwYaonpuy8lsEJTEZpo18obYfRP9fjJZJb71rQ/sjbAd2EEV84r13k4JcprUp4uFd/LgUpHNwyRxnm2bKneHSpf9eb0D+A6Kzxkix/vSJeH8G/pHc07mYtf1rqMG57eVeeVinAFbGsvmggQfFGXupW3c48VYS6TTUmcUv0B7jiDHEdFG1zRXElX48S6HJnhI4531jxbEsvgBt63sR5wH5dZv++VodzznwjaJ4LJv+bxZEtswhNA/nzxGCk9vNDkhPxpS531mNAyfV2ewJ81QW94BuWh0dTfo6gVypCS/2xI8L2I2sqs5vk2iCr51WJDL79yLXRP6QhXLcr8jgDpBQMNbpE= - secure: uPGaNzWNz2k+xN3pFWwJvJEe3W/VlUnTtEizdm/tyZI8gHGuh2GsKVyJqRDfBN1VocI+i2nCUBR8xcBlZSsoLuLIolmc0kdy+RZg57bpXUWjAQqVGbRp8XFbJrkRmy59PPPNNK7aXa+DZ37BtiKQWOiEu+29HsJB+Qo7Kzt0lj4FgljzuJiRSXfUHWruYsrKuXRrmRionr68a87psdvd0EPIGzm/O2SKahexZI0/2wVeffw/yy6lXBL0G7CQVFtHa7FeFY52VLvW5lSYnjvhB9QVJo8bfVoHZbsVaPSw9OXU/pt0b9iDddAj40x/FN3sQcuXWJu43scTsAjDzxWfAtO11Og+JvSzXBcMJi0MUJkIIU+ploCHj67ahMErePPPxC2QdZ6nBVUHQp3lTFJZGk58kt9A7bO3AMKiM9JGmtroK2q0mq4IJn0TE0KUO1avb6yufTqAxYUk4m/Xej+DDa73qOTDayfxwj6wDJtAoooLyps3+11zYY/rqjqXGSBp70RIyHscEEtJlP5px+DHjUeDZLSB3dQIcbvDnPOpSxJLDGPEDpdaBtO0/ZBr4sFJGR5wfQ2sQkRiy0dprF7nbOlMpVQD7BD1e5TyP5wSbGcN7Khi/e833yZGyN99gfteMW5QsSofQZzOKVjF2Tx8gWrKkaiJoGp5QerjkbWazWE= +after_success: +- test -n "$TRAVIS_TAG" && docker login -u=sourcegraphci -p="$DOCKER_PASSWORD" deploy: - provider: script script: - - echo "$DOCKER_PASSWORD" | docker login -u sourcegraphci --password-stdin - curl -sL https://git.io/goreleaser | bash overwrite: true skip_cleanup: true