Files
Cybrarist fb06b0d14a WIP - add functionalities for plugin to test
add option to save the get params for store
add option to specify which parameters to keep for store
add testing for this parsing case.
2025-11-30 15:45:14 +04:00

23 lines
423 B
Bash
Executable File

#!/bin/sh
image="cybrarist/discount-bandit"
version=$1
php artisan migrate:fresh --force
rm storage/debugbar/*
rm storage/views/*
rm -r storage/framework/cache/*
rm storage/framework/sessions/*
rm storage/logs/*
docker build --platform linux/amd64,linux/arm64 -t "$image:v$version" .
#docker build --platform linux/amd64,linux/arm64 -t "$image:latest" .
docker push "$image:v$version"
#docker push "$image:latest"