summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index d791247..83d165e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,18 @@
-.PHONY: fly
+VERSION=0.0.1
+DOCKER_IMAGE=alexemery/home:${VERSION}
+.PHONY: fly
fly:
cd proxy && fly deploy
-.PHONY: content
-content:
- go run ./cmd/generate
-
-.PHONY: serve
-serve: content
+.PHONY: serve
+serve:
go run ./cmd/home
+
+.PHONY: image
+image:
+ docker build . -t ${DOCKER_IMAGE}
+
+.PHONY: public
+public: image
+ docker push ${DOCKER_IMAGE}