From 5d800ba5fe4327d2e9075ffa214814a71b4731c0 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 6 Jan 2021 17:58:04 +0100 Subject: [PATCH] Do a Docker login on Travis --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9e45bfc10..de4e992a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,6 +25,7 @@ before_deploy: sudo -E apt-get -yq update; sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install docker-ce=${DOCKER_VERSION}*; docker version; + echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin; make build-image; if [ "$TRAVIS_TAG" ]; then make release-packages; @@ -54,4 +55,4 @@ deploy: skip_cleanup: true on: repo: traefik/traefik - all_branches: true \ No newline at end of file + all_branches: true