update build scripts to use a password.txt file instead of environment variable.

This commit is contained in:
2020-01-12 22:56:09 -05:00
parent 7d1085d581
commit 5c0a51c0be
3 changed files with 10 additions and 3 deletions

View File

@@ -1,6 +1,9 @@
#!/bin/bash -ex
export DOCKER_HOST=dkmanager:2376
DKREGISTRY=dkregistry.xai-corp.net:5000
docker login -u richard -p $DKREGISTRY_PASS $DKREGISTRY
#docker login -u richard -p $DKREGISTRY_PASS $DKREGISTRY
< ./password.txt docker login --username richard --password-stdin $DKREGISTRY
#(cd nextcloud && docker-compose -f docker-compose-mono.yml build) &
./nextcloud/build.sh &