uptime-kuma/extra/release/nightly.mjs

17 lines
462 B
JavaScript
Raw Permalink Normal View History

import { buildDist, buildImage, checkDocker, getRepoNames } from "./lib.mjs";
2024-10-29 11:02:49 +00:00
// Docker Hub repository name
const repoNames = getRepoNames();
2024-10-29 11:02:49 +00:00
// 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(repoNames, [ "nightly2-rootless" ], "nightly-rootless");
2024-10-29 11:02:49 +00:00
// Build full image
buildImage(repoNames, [ "nightly2" ], "nightly");