-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-build.sh
executable file
·50 lines (32 loc) · 1.54 KB
/
docker-build.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# APIS
# - FRONTEND
# -- DEV
docker image build -t localhost:32000/illumino-frontend-api--dev:latest --target=dev ./apis/frontend
docker push localhost:32000/illumino-frontend-api--dev:latest
# -- STAG
docker image build -t localhost:32000/illumino-frontend-api--stag:latest --target=stag ./apis/frontend
docker push localhost:32000/illumino-frontend-api--stag:latest
# -- PROD
docker image build -t localhost:32000/illumino-frontend-api:latest --target=prod ./apis/frontend
docker push localhost:32000/illumino-frontend-api:latest
# - EMBEDDED
# -- DEV
docker image build -t localhost:32000/illumino-embedded-api--dev:latest --target=dev ./apis/embedded
docker push localhost:32000/illumino-embedded-api--dev:latest
# -- STAG
docker image build -t localhost:32000/illumino-embedded-api--stag:latest --target=stag ./apis/embedded
docker push localhost:32000/illumino-embedded-api--stag:latest
# -- PROD
docker image build -t localhost:32000/illumino-embedded-api:latest --target=prod ./apis/embedded
docker push localhost:32000/illumino-embedded-api:latest
# WEBSITES
# - APP
# -- DEV
docker image build -t localhost:32000/illumino-web-app--dev:latest --target=dev ./websites/app
docker push localhost:32000/illumino-web-app--dev:latest
# -- STAG
docker image build -t localhost:32000/illumino-web-app--stag:latest --target=stag ./websites/app
docker push localhost:32000/illumino-web-app--stag:latest
# -- PROD
docker image build -t localhost:32000/illumino-web-app:latest --target=prod ./websites/app
docker push localhost:32000/illumino-web-app:latest