-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·20 lines (19 loc) · 908 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#/bin/bash
./gradlew clean build
docker build -t modiconme/stock-service:latest StockService/
docker build -t modiconme/tinkoff-service:latest TinkoffService/
docker build -t modiconme/moex-service:latest MoexService/
docker build -t modiconme/user-service:latest UserService/
docker build -t modiconme/stock-cache-service:latest StockCacheService/
docker build -t modiconme/cbr-service:latest CbrService/
docker build -t modiconme/openfigi-service:latest OpenFigiService/
docker build -t modiconme/telegram-bot:latest TelegramBot/
docker login -u $1 -p $2
docker push modiconme/stock-service:latest
docker push modiconme/tinkoff-service:latest
docker push modiconme/moex-service:latest
docker push modiconme/user-service:latest
docker push modiconme/stock-cache-service:latest
docker push modiconme/cbr-service:latest
docker push modiconme/openfigi-service:latest
docker push modiconme/telegram-bot:latest