From 758e9a18d787133285de1822a8c1c39f0692b14d Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Fri, 7 Aug 2020 10:53:10 +0900 Subject: [PATCH] Make Makefile. --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..444fb23 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +.PHONY: build push deploy run + +GOOGLE_CLOUD_PROJECT = api-project-466263183174 +IMAGE_TAG = gcr.io/$(GOOGLE_CLOUD_PROJECT)/twins-notification + +build: + docker build -t $(IMAGE_TAG) . + +push: + docker push $(IMAGE_TAG) + +deploy: + kubectl apply -f cronjob.yaml + +run: + yarn start