New updates to readme
This commit is contained in:
parent
9ead0feb9f
commit
8e92a3a4cb
@ -16,6 +16,7 @@
|
||||
|
||||
|
||||
### :bell: Recent changes
|
||||
- **v0.3.2**: Added a notify function to wrap a notify-script, currently DSM/Ssmtp + template script.
|
||||
- **v0.3.1**: Addded option `-m` , monochrome mode - no printf color codes.
|
||||
- **v0.3.0**: Added option `-d N`, age (days) new images have to be before being pulled and updated.
|
||||
- **v0.2.6**: regctl check / download logic changed. Now using the scripts directory as primary location.
|
||||
@ -74,6 +75,10 @@ Enter number(s) separated by comma, [a] for all - [q] to quit:
|
||||
Then it proceedes to run `pull` and `up -d` on every container with updates.
|
||||
After the updates are complete, you'll get prompted if you'd like to prune dangling images.
|
||||
|
||||
### Notifications:
|
||||
|
||||
A simple email notification function is added, with a generic example and DSM/Ssmtp script by [yoyoma2](https://github.com/yoyoma2). Further addons are welcome, suggestions or PR!
|
||||
|
||||
### :warning: `-r flag` disclaimer and warning
|
||||
**Wont auto-update the containers, only their images. (compose is recommended)**
|
||||
`docker run` dont support using new images just by restarting a container.
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
VERSION="v0.3.1"
|
||||
### ChangeNotes: Added feature (-m) Monochrome Mode, no printf color codes.
|
||||
VERSION="v0.3.2"
|
||||
### ChangeNotes: Added a notify function - template and email script (DSM etc)
|
||||
Github="https://github.com/mag37/dockcheck"
|
||||
RawUrl="https://raw.githubusercontent.com/mag37/dockcheck/main/dockcheck.sh"
|
||||
|
||||
@ -234,7 +234,7 @@ fi
|
||||
if [[ -n ${GotUpdates[*]} ]] ; then
|
||||
printf "\n%bContainers with updates available:%b\n" "$c_yellow" "$c_reset"
|
||||
[[ -z "$AutoUp" ]] && options || printf "%s\n" "${GotUpdates[@]}"
|
||||
[[ $(type -t send_notification) == function ]] && send_notification ${GotUpdates[@]}
|
||||
[[ $(type -t send_notification) == function ]] && send_notification "${GotUpdates[@]}"
|
||||
fi
|
||||
|
||||
### Optionally get updates if there's any
|
||||
|
Loading…
Reference in New Issue
Block a user