-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (24 loc) · 1.17 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
default: build
build:
docker build -t ghcr.io/husky-dev/kremen-api/transport-api:latest ./services/transport-api
# docker build -t ghcr.io/husky-dev/kremen-api/equipment-api:latest ./services/equipment-api
# docker build -t ghcr.io/husky-dev/kremen-api/ws:latest ./services/ws
# docker build -t ghcr.io/husky-dev/kremen-api/img:latest ./services/img
docker build -t ghcr.io/husky-dev/kremen-api/nginx:latest ./services/nginx
push:
docker push ghcr.io/husky-dev/kremen-api/nginx:latest
docker push ghcr.io/husky-dev/kremen-api/transport-api:latest
# docker push ghcr.io/husky-dev/kremen-api/equipment-api:latest
# docker push ghcr.io/husky-dev/kremen-api/ws:latest
# docker push ghcr.io/husky-dev/kremen-api/img:latest
pull:
docker pull ghcr.io/husky-dev/kremen-api/nginx:latest
docker pull ghcr.io/husky-dev/kremen-api/transport-api:latest
# docker pull ghcr.io/husky-dev/kremen-api/equipment-api:latest
# docker pull ghcr.io/husky-dev/kremen-api/ws:latest
# docker pull ghcr.io/husky-dev/kremen-api/img:latest
lint:
cd services/equipment-api && yarn lint:types
cd services/transport-api && yarn lint:types
cd services/ws && yarn lint:types
cd services/img && yarn lint:types