#!/bin/bash
OUTPUT=$(docker image prune -af | tail -1)
topicurl=https://ntfy.example.com/topic
curl --insecure \
-d "$OUTPUT" \
-H "Title: Dangling images cleaned on $(hostname)" \
$topicurl
#!/bin/bash
OUTPUT=$(docker image prune -af | tail -1)
topicurl=https://ntfy.example.com/topic
curl --insecure \
-d "$OUTPUT" \
-H "Title: Dangling images cleaned on $(hostname)" \
$topicurl