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:
@@ -2,6 +2,7 @@
|
||||
# shellcheck disable=SC1091
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
source "${SCRIPT_DIR}/_compose.sh"
|
||||
|
||||
_check_required_env_vars "CONTAINER_NAME"
|
||||
|
||||
@@ -11,7 +12,7 @@ cd "$SCRIPT_DIR" || _die "Failed to change to script directory"
|
||||
|
||||
# Stop and remove containers (preserves volumes)
|
||||
if [ -f docker-compose.yml ]; then
|
||||
docker compose down 2>/dev/null || true
|
||||
docker_compose down 2>/dev/null || true
|
||||
fi
|
||||
|
||||
echo "Uninstallation of ${CONTAINER_NAME} complete."
|
||||
|
||||
Reference in New Issue
Block a user