Add 1 and update 7 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 12s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 12s
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "${SCRIPT_DIR}/_volumes.sh"
|
||||
source "${SCRIPT_DIR}/_compose.sh"
|
||||
|
||||
_check_required_env_vars "CONTAINER_NAME"
|
||||
|
||||
@@ -12,7 +13,7 @@ cd "$SCRIPT_DIR" || _die "Failed to change to script directory"
|
||||
|
||||
# Stop and remove containers and volumes
|
||||
if [ -f docker-compose.yml ]; then
|
||||
docker compose down -v 2>/dev/null || true
|
||||
docker_compose down -v 2>/dev/null || true
|
||||
fi
|
||||
|
||||
# Destroy data directories
|
||||
|
||||
Reference in New Issue
Block a user