aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/jenkins/vagrant/jjb/include-docker-login.sh
blob: 561a91f5f2b3129ea3fb6a172b97440b78d66cb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# vim: ts=4 sw=4 sts=4 et :

DOCKER_REPOSITORIES="nexus3.onap.org:10001 \
                   nexus3.onap.org:10002 \
                   nexus3.onap.org:10003 \
                   nexus3.onap.org:10004"

for DOCKER_REPOSITORY in $DOCKER_REPOSITORIES;
do
    echo $DOCKER_REPOSITORY
    docker login $DOCKER_REPOSITORY -u "anonymous" -p "anonymous"
done