add weston support

This commit is contained in:
Matthew Tran
2026-01-23 02:28:53 -08:00
parent 542d653d17
commit 0fa04ef46f
3 changed files with 48 additions and 4 deletions
+5
View File
@@ -23,6 +23,7 @@ IMAGES = {
"nas": [
"nas",
],
"tv": [],
}
def generate(cfg):
@@ -85,6 +86,8 @@ if __name__ == "__main__":
# run builds
for user in IMAGES:
if not IMAGES[user]:
continue
print(f"building images for {user}...")
run([f"cd {SOURCE_DIR}"] + [
f"sudo -u {user} podman build --tag {i} {SOURCE_DIR}/{i}"
@@ -93,6 +96,8 @@ if __name__ == "__main__":
# restart pods
for user in IMAGES:
if not IMAGES[user]:
continue
print(f"restarting pod for {user}...")
run([
f"cd {SOURCE_DIR}",