From af2000bf805e25022b8e73de7b0280fda775af87 Mon Sep 17 00:00:00 2001 From: Tushar Date: Tue, 20 Jun 2023 11:44:05 +0000 Subject: [PATCH] feat: Add targets for identity-service --- Makefile | 2 ++ services/identity-service/Makefile | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 services/identity-service/Makefile diff --git a/Makefile b/Makefile index b76eac927..7019d0b81 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ build: java/registry/target/registry.jar make -C services/public-key-service docker make -C services/context-proxy-service docker docker build -t dockerhub/sunbird-rc-nginx . + make -C services/identity-service/ docker java/registry/target/registry.jar: $(SOURCES) echo $(SOURCES) @@ -94,6 +95,7 @@ release: test docker push dockerhub/sunbird-rc-context-proxy-service:$(RELEASE_VERSION) docker push dockerhub/sunbird-rc-nginx:latest docker push dockerhub/sunbird-rc-nginx:$(RELEASE_VERSION) + docker push dockerhub/sunbird-rc-identity-service:$(RELEASE_VERSION) @cd tools/cli/ && npm publish diff --git a/services/identity-service/Makefile b/services/identity-service/Makefile new file mode 100644 index 000000000..d6ca5682a --- /dev/null +++ b/services/identity-service/Makefile @@ -0,0 +1,6 @@ +IMAGE:=dockerhub/sunbird-rc-identity-service + +docker: + @docker build -t $(IMAGE) . +publish: + @docker push $(IMAGE) \ No newline at end of file