3 DOCKER_REPOSITORIES="nexus3.openecomp.org:10001 \
4 nexus3.openecomp.org:10002 \
5 nexus3.openecomp.org:10003"
7 for DOCKER_REPOSITORY in $DOCKER_REPOSITORIES;
9 USER=$(xpath -q -e "//servers/server[id='$DOCKER_REPOSITORY']/username/text()" "$SETTINGS_FILE")
10 PASS=$(xpath -q -e "//servers/server[id='$DOCKER_REPOSITORY']/password/text()" "$SETTINGS_FILE")
11 docker login $DOCKER_REPOSITORY -u $USER -p $PASS