-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild-and-push-images.sh
26 lines (18 loc) · 996 Bytes
/
build-and-push-images.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
export PATH_ACTOR_REGISTRY=src/actor-registry
export NAME_ACTOR_REGISTRY=actor-registry
export PATH_ACTOR_SIMULATOR=src/actor-simulator
export NAME_ACTOR_SIMULATOR=actor-simulator
export PATH_ACTOR_CONTROL=src/actor-control
export NAME_ACTOR_CONTROL=actor-control
export PATH_STATUS_TRACKING=src/status-tracking
export NAME_STATUS_TRACKING=status-tracking
export PATH_WEB_GUI=src/web-gui
export NAME_WEB_GUI=web-gui
export PATH_API_GATEWAY=src/api-gateway
export NAME_API_GATEWAY=api-gateway
gcloud builds submit $PATH_ACTOR_REGISTRY --tag gcr.io/$PROJECT/$NAME_ACTOR_REGISTRY
gcloud builds submit $PATH_API_GATEWAY --tag gcr.io/$PROJECT/$NAME_API_GATEWAY
#gcloud builds submit $PATH_ACTOR_SIMULATOR --tag gcr.io/$PROJECT/$NAME_ACTOR_SIMULATOR
#gcloud builds submit $PATH_ACTOR_CONTROL --tag gcr.io/$PROJECT/$NAME_ACTOR_CONTROL
#gcloud builds submit $PATH_STATUS_TRACKING --tag gcr.io/$PROJECT/$NAME_STATUS_TRACKING
#gcloud builds submit $PATH_WEB_GUI --tag gcr.io/$PROJECT/$NAME_WEB_GUI