fix update script

This commit is contained in:
Andras Bacsai
2023-04-28 15:22:36 +02:00
parent 7ea73c3db2
commit 1d2b5d5b15
5 changed files with 24 additions and 19 deletions

View File

@@ -20,6 +20,10 @@ function help {
echo "Tasks:"
compgen -A function | cat -n
}
function sync-bunny {
bash vendor/bin/spin exec -u webuser coolify php artisan sync:bunny --env=secret ||
php artisan sync:bunny --env=secrets
}
function queue {
bash vendor/bin/spin exec -u webuser coolify php artisan queue:listen
}
@@ -42,16 +46,6 @@ function vite {
bash vendor/bin/spin exec vite bash
}
function build-prod {
if [ "$1" ]; then
echo "Building version $1"
docker build -t ghcr.io/coollabsio/coolify:$1 -f docker/prod-ssu/Dockerfile .
else
echo "Building version 4.0.0-nightly.1"
docker build -t ghcr.io/coollabsio/coolify:4.0.0-nightly.1 -f docker/prod-ssu/Dockerfile .
fi
}
function default {
help
}