Watchtower skip update not triggering the pre check shell script #1003
Unanswered
dev2021-ctrl
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I am using pre update hooks in watchtower but the below commands does not even trigger the shell script.
Basically i want to skip update based on shell script
Also this env variable set WATCHTOWER_LIFECYCLE_HOOKS to true
docker run -d --label=com.centurylinklabs.watchtower.lifecycle.pre-check="/dump-data.sh"
--restart always
--name watchtower
-v /var/run/docker.sock:/var/run/docker.sock
containrrr/watchtower
--cleanup
--interval 10 --enable-lifecycle-hooks
test
Pleae help a bit urgent
I am pretty sure the latest watchtower build here https://github.com/containrrr/watchtower
supports this skipping update feature
Beta Was this translation helpful? Give feedback.
All reactions