feat(update): add missing images to update and use rec everywhere

This commit is contained in:
matt1432 2024-10-05 22:22:02 -04:00
parent 1beab47051
commit 2dbe5ca0fd
33 changed files with 86 additions and 74 deletions
apps/update/src

View file

@ -31,6 +31,18 @@ export const updateFlakeInputs = () => {
export const updateDocker = () => {
let updates = '';
console.log('Updating jfa-go image');
updates += spawnSync('updateImages',
[`${FLAKE}/devices/nos/modules/jellyfin`],
{ shell: true })
.stdout.toString();
console.log('Updating netdaemon image');
updates += spawnSync('updateImages',
[`${FLAKE}/devices/homie/modules/home-assistant/netdaemon`],
{ shell: true })
.stdout.toString();
const FILE = `${FLAKE}/devices/nos/modules/docker`;
readdirSync(FILE, { withFileTypes: true, recursive: true }).forEach((path) => {