diff options
author | Christian Heimes <christian@python.org> | 2015-10-16 21:19:33 +0200 |
---|---|---|
committer | Christian Heimes <christian@python.org> | 2015-10-16 21:19:33 +0200 |
commit | ffc5ceee7ef098e19cd70572bfaa214c5c50878c (patch) | |
tree | 427bfb858ab1efc54048703fc99f40620f372a89 /push.sh | |
parent | 91e382abd6a6b527ca3a1a8e6e83f4f21a115a75 (diff) | |
download | custodia_pwmgr-ffc5ceee7ef098e19cd70572bfaa214c5c50878c.tar.gz custodia_pwmgr-ffc5ceee7ef098e19cd70572bfaa214c5c50878c.tar.xz custodia_pwmgr-ffc5ceee7ef098e19cd70572bfaa214c5c50878c.zip |
exec to get pid 1
Diffstat (limited to 'push.sh')
-rwxr-xr-x | push.sh | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,5 +1,17 @@ #!/bin/sh set -e + +REPOS=https://fedorapeople.org/cgit/simo/public_git/custodia.git + +if [ ! -d custodia ]; then + git clone $REPOS +fi + +pushd custodia > /dev/null +git fetch --all +git pull --rebase +popd > /dev/null + sudo docker build -t 10.34.78.249:5000/custodia-pwmgr . sudo docker push 10.34.78.249:5000/custodia-pwmgr |