added nu build script
This commit is contained in:
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/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)"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user