summaryrefslogtreecommitdiffstats
path: root/push.sh
blob: a483beb9d4989985c9f58374a00bcabc226cdf2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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 pull --rebase
popd > /dev/null

sudo docker build -t 10.34.78.249:5000/custodia-server .
sudo docker push 10.34.78.249:5000/custodia-server