Skip to content

Commit

Permalink
Add build script
Browse files Browse the repository at this point in the history
  • Loading branch information
xZero707 committed Feb 8, 2025
1 parent ed80e85 commit 21718c1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bin/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

main() {
echo "Warning: This is resource-intensive and might crash your system if you don't have enough resources !!!"
echo "Press Ctrl+C to cancel. Automatically continuing in 5 seconds..."
sleep 5

docker buildx bake --file build/docker-bake.hcl --pull "${@}" &
docker buildx bake --file build/docker-bake-cron.hcl --pull "${@}" &
wait
}

main "${@}"

0 comments on commit 21718c1

Please sign in to comment.