mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2025-12-09 01:22:40 +01:00
Add build script
This commit is contained in:
13
bin/build
Executable file
13
bin/build
Executable file
@@ -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 "${@}"
|
||||||
Reference in New Issue
Block a user