2019-12-03 18:26:59 -08:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd $ROOT/docker
|
|
|
|
mkdir tmp
|
|
|
|
cd tmp
|
|
|
|
git clone "https://${GIT_TOKEN}@github.com/${GIT_ORG}/${GIT_REPO}"
|
|
|
|
cd $GIT_REPO
|
|
|
|
cp $ROOT/docker/install.sh $WEB/requirements.txt .
|
|
|
|
docker-compose -f docker-compose.build.yml build
|
|
|
|
|
2019-12-10 15:10:04 -08:00
|
|
|
docker tag ottertune-base "${DOCKER_REPO}:base"
|
2019-12-03 18:26:59 -08:00
|
|
|
docker tag ottertune-web "${DOCKER_REPO}:web"
|
|
|
|
docker tag ottertune-driver "${DOCKER_REPO}:driver"
|
|
|
|
docker tag ottertune-driver-internal "${DOCKER_REPO}:driver-internal"
|
|
|
|
echo "$DOCKER_PASSWD" | docker login -u "$DOCKER_USER" --password-stdin
|
|
|
|
|