aboutsummaryrefslogtreecommitdiff
path: root/Earthfile
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-08-21 19:59:59 -0400
committerXe Iaso <me@xeiaso.net>2024-08-21 19:59:59 -0400
commit2a8393020e0c1cc302c87fcdf0601b15aaa10f1b (patch)
treed56a43a2aa4e0c88c10e651f69e8d7d18b1946b9 /Earthfile
parentd9a0fb6435165fd3c6044de9ce8cbb0662fb6628 (diff)
downloadx-2a8393020e0c1cc302c87fcdf0601b15aaa10f1b.tar.xz
x-2a8393020e0c1cc302c87fcdf0601b15aaa10f1b.zip
cmd/hdrwtch: yolo
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'Earthfile')
-rw-r--r--Earthfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Earthfile b/Earthfile
index 3e82dfd..89a8502 100644
--- a/Earthfile
+++ b/Earthfile
@@ -52,6 +52,16 @@ future-sight:
SAVE IMAGE --push ghcr.io/xe/x/future-sight:latest
+hdrwtch:
+ FROM +runtime
+
+ COPY +everything/bin/hdrwtch /app/bin/hdrwtch
+ CMD ["/app/bin/hdrwtch", "--port=8080", "--database-loc=/data/hdrwtch.db"]
+
+ LABEL org.opencontainers.image.source="https://github.com/Xe/x"
+
+ SAVE IMAGE --push registry.fly.io/hdrwtch:latest
+
hlang:
FROM +runtime
@@ -217,6 +227,7 @@ xedn:
all:
BUILD --platform=linux/amd64 +azurda
BUILD --platform=linux/amd64 +future-sight
+ BUILD --platform=linux/amd64 +hdrwtch
BUILD --platform=linux/amd64 +hlang
BUILD --platform=linux/amd64 +johaus
BUILD --platform=linux/amd64 +mi