summaryrefslogtreecommitdiffstats
path: root/extra/release/nightly.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'extra/release/nightly.mjs')
-rw-r--r--extra/release/nightly.mjs16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/release/nightly.mjs b/extra/release/nightly.mjs
new file mode 100644
index 0000000..c6641ba
--- /dev/null
+++ b/extra/release/nightly.mjs
@@ -0,0 +1,16 @@
+import { buildDist, buildImage, checkDocker, getRepoName } from "./lib.mjs";
+
+// Docker Hub repository name
+const repoName = getRepoName();
+
+// Check if docker is running
+checkDocker();
+
+// Build frontend dist (it will build on the host machine, TODO: build on a container?)
+buildDist();
+
+// Build full image (rootless)
+buildImage(repoName, [ "nightly2-rootless" ], "nightly-rootless");
+
+// Build full image
+buildImage(repoName, [ "nightly2" ], "nightly");