forked from WuKongIM/WuKongIM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (38 loc) · 1.64 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
37
38
39
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-v2-dev:
docker build -t wukongim .
docker tag wukongim registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v2.0.8-20241129-dev
docker push registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v2.0.8-20241129-dev
deploy-v2:
docker build -t wukongim .
docker tag wukongim registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v2.0.7-20241104
docker tag wukongim wukongim/wukongim:v2.0.7-20241104
docker tag wukongim ghcr.io/wukongim/wukongim:v2.0.7-20241104
docker tag wukongim ghcr.io/wukongim/wukongim:v2
docker push registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v2.0.7-20241104
docker push wukongim/wukongim:v2.0.7-20241104
docker push ghcr.io/wukongim/wukongim:v2
deploy-latest-v2:
docker build -t wukongim .
docker tag wukongim registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v2
docker tag wukongim wukongim/wukongim:v2
docker push registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v2
docker push wukongim/wukongim:v2
# docker push registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2
# docker push registry.cn-shanghai.aliyuncs.com/wukongim/wukongim:v1.2-dev