Files
kt-connect/bin/build
T
2019-10-09 14:53:53 +08:00

7 lines
610 B
Python
Executable File

echo $TAG
TAG=$(echo $TRAVIS_BRANCH | sed "s/\//-/")
docker build -t registry.cn-hangzhou.aliyuncs.com/rdc-incubator/kt-connect -f docker/kt-connect/Dockerfile .
docker build --cache-from registry.cn-hangzhou.aliyuncs.com/rdc-incubator/kt-connect-shadow:latest -t registry.cn-hangzhou.aliyuncs.com/rdc-incubator/kt-connect-shadow:$TAG -f docker/shadow/Dockerfile .
docker build -t registry.cn-hangzhou.aliyuncs.com/rdc-incubator/kt-connect-dashboard:$TAG -f docker/dashboard/Dockerfile .
docker build -t registry.cn-hangzhou.aliyuncs.com/rdc-incubator/kt-connect-server:$TAG -f docker/apiserver/Dockerfile .