Stop MinIO container before deployment
All checks were successful
Deploy MinIO Production / deploy (push) Successful in 32s
All checks were successful
Deploy MinIO Production / deploy (push) Successful in 32s
This commit is contained in:
@@ -99,6 +99,9 @@ jobs:
|
|||||||
if docker ps --format '{{.Names}}' | grep -q crew-minio; then
|
if docker ps --format '{{.Names}}' | grep -q crew-minio; then
|
||||||
echo "ℹ️ MinIO is currently running"
|
echo "ℹ️ MinIO is currently running"
|
||||||
docker ps | grep crew-minio
|
docker ps | grep crew-minio
|
||||||
|
|
||||||
|
echo "🛑 Stopping MinIO container"
|
||||||
|
docker compose down
|
||||||
else
|
else
|
||||||
echo "ℹ️ MinIO is not running (first deployment)"
|
echo "ℹ️ MinIO is not running (first deployment)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user