16 lines
468 B
Bash
16 lines
468 B
Bash
|
#!/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
|
||
|
|
||
|
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
|
||
|
|