Files
chatapp/scripts/dockerbuild.nu
T
2025-10-20 03:58:19 +01:00

8 lines
281 B
Nu
Executable File

#!/usr/bin/env nu
def main [ver: string] {
echo $"Building against DB: ($env.DATABASE_URL)"
podman build --build-arg $"DATABASE_URL=($env.DATABASE_URL)" -t $"git.zxq5.dev/zxq5/chatapp-backend:($ver)" ./backend
podman push $"git.zxq5.dev/zxq5/chatapp-backend:($ver)"
}