forked from odigos-io/odigos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (27 loc) · 1.59 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
.PHONY: build-images
build-images:
docker build -t ghcr.io/keyval-dev/odigos/autoscaler:$(TAG) . --build-arg SERVICE_NAME=autoscaler
docker build -t ghcr.io/keyval-dev/odigos/scheduler:$(TAG) . --build-arg SERVICE_NAME=scheduler
docker build -t ghcr.io/keyval-dev/odigos/lang-detector:$(TAG) -f langDetector/Dockerfile . --build-arg SERVICE_NAME=langDetector
docker build -t ghcr.io/keyval-dev/odigos/ui:$(TAG) ui/ -f ui/Dockerfile
docker build -t ghcr.io/keyval-dev/odigos/odiglet:$(TAG) odiglet/ -f odiglet/Dockerfile
docker build -t ghcr.io/keyval-dev/odigos/init:$(TAG) init/ -f init/Dockerfile
docker build -t ghcr.io/keyval-dev/odigos/instrumentor:$(TAG) . --build-arg SERVICE_NAME=instrumentor
.PHONY: push-images
push-images:
docker push ghcr.io/keyval-dev/odigos/autoscaler:$(TAG)
docker push ghcr.io/keyval-dev/odigos/scheduler:$(TAG)
docker push ghcr.io/keyval-dev/odigos/lang-detector:$(TAG)
docker push ghcr.io/keyval-dev/odigos/ui:$(TAG)
docker push ghcr.io/keyval-dev/odigos/instrumentor:$(TAG)
docker push ghcr.io/keyval-dev/odigos/init:$(TAG)
docker push ghcr.io/keyval-dev/odigos/odiglet:$(TAG)
.PHONY: load-to-kind
load-to-kind:
kind load docker-image ghcr.io/keyval-dev/odigos/autoscaler:$(TAG)
kind load docker-image ghcr.io/keyval-dev/odigos/scheduler:$(TAG)
kind load docker-image ghcr.io/keyval-dev/odigos/lang-detector:$(TAG)
kind load docker-image ghcr.io/keyval-dev/odigos/ui:$(TAG)
kind load docker-image ghcr.io/keyval-dev/odigos/odiglet:$(TAG)
kind load docker-image ghcr.io/keyval-dev/odigos/init:$(TAG)
kind load docker-image ghcr.io/keyval-dev/odigos/instrumentor:$(TAG)