forked from WuKongIM/WuKongIM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (35 loc) · 1.44 KB
/
Makefile
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
build:
docker build -t wukongim .
push:
docker tag wukongim wukongim/wukongim:latest-dev
docker push wukongim/wukongim:latest-dev
deploy:
docker build -t wukongim .
docker tag wukongim wukongim/wukongim:latest
docker push wukongim/wukongim:latest
deploy-dev:
docker build -t wukongim .
docker tag wukongim wukongim/wukongim:latest-dev
docker push wukongim/wukongim:latest-dev
deploy-arm:
docker build -t wukongimarm64 . -f Dockerfile.arm64 --platform linux/arm64
docker tag wukongimarm64 wukongim/wukongim:latest-arm64
docker push wukongim/wukongim:latest-arm64
deploy-v1.2-dev:
docker build -t wukongim .
docker tag wukongim registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2-dev
docker push registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2-dev
deploy-v1.2:
docker build -t wukongim .
docker tag wukongim registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2
docker tag wukongim wukongim/wukongim:v1.2
docker push registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2
docker push wukongim/wukongim:v1.2
deploy-v1.2.x:
docker build -t wukongim .
docker tag wukongim registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2.4
docker tag wukongim wukongim/wukongim:v1.2.4
docker push registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2.4
docker push wukongim/wukongim:v1.2.4
# docker push registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2
# docker push registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2-dev