aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAKP <tom@tdpain.net>2022-04-06 11:54:27 +0100
committerAKP <tom@tdpain.net>2022-04-06 11:54:27 +0100
commit789dbbcfb47669c9930bfddc674484b71c76c980 (patch)
tree8c1ffb120001e0594647d69015ba57a130ccf3b4 /Makefile
parent0584b75f8ad9b4a4f4a289c7f444e21c43f815e7 (diff)
Add `dockerBuild` make target
Signed-off-by: AKP <tom@tdpain.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fad7acf..4f4f1d0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-.PHONY: prebuild fmt
+.PHONY: dockerBuild
build: templates
mkdir -p bin
@@ -13,3 +13,7 @@ fmt:
templates:
qtc -skipLineComments -ext qtpl.html -dir walrss/internal/http/views
+
+dockerBuild:
+ sudo docker build -t ghcr.io/codemicro/walrss:latest .
+ sudo docker push ghcr.io/codemicro/walrss:latest