forked from Microservice-API-Patterns/LakesideMutual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_and_push.sh
28 lines (18 loc) · 1.41 KB
/
build_and_push.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
cd eureka-server
sudo docker build -t 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:eureka-server-latest .
sudo docker push 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:eureka-server-latest
cd ../policy-management-backend
sudo docker build -t 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:policy-management-backend-latest .
sudo docker push 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:policy-management-backend-latest
cd ../policy-management-frontend
sudo docker build -t 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:policy-management-frontend-latest .
sudo docker push 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:policy-management-frontend-latest
cd ../risk-management-client
sudo docker build -t 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:risk-management-client-latest .
sudo docker push 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:risk-management-client-latest
cd ../risk-management-server
sudo docker build -t 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:risk-management-server-latest .
sudo docker push 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:risk-management-server-latest
cd ../spring-boot-admin
sudo docker build -t 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:spring-boot-admin-latest .
sudo docker push 613825731605.dkr.ecr.eu-central-1.amazonaws.com/lakeside:spring-boot-admin-latest