Resourcemanagement/extra/release/nightly.mjs

16 lines
489 B
JavaScript

import { buildDist, buildImage, checkDocker, getRepoNames } from "./lib.mjs";
// Docker Hub repository name
const repoNames = getRepoNames();
// 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, ["nightly3-rootless", "nightly-rootless"], "nightly-rootless");
// Build full image
buildImage(repoNames, ["nightly3", "nightly"], "nightly");