Skip to content

Commit

Permalink
Login to hub.docker.com to get user specific pull rate. (ibm-function…
Browse files Browse the repository at this point in the history
  • Loading branch information
falkzoll authored Jan 18, 2021
1 parent 03bca6b commit 84db4f9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ IMAGE_PREFIX="testing"

export OPENWHISK_HOME=$WHISKDIR

# Login to hub.docker.com to get user specific pull rate.
if [ ! -z "${DOCKER_USER}" ] && [ ! -z "${DOCKER_PASSWORD}" ]; then
echo "Run docker login..."
echo ${DOCKER_PASSWORD} | docker login -u "${DOCKER_USER}" --password-stdin
fi

# Build OpenWhisk
cd $WHISKDIR

Expand Down

0 comments on commit 84db4f9

Please sign in to comment.