Deploys always pull images; dockcheck recreates only what it updated
Compose deploys used the default pull policy (missing), so switching a service to a tag that was already cached deployed a year-old image (paperless-ngx and heyform :latest). module_defaults now sets pull: always for every docker_compose_v2 task. dockcheck pulls the image it updates, but then ran compose up for the whole stack, which could recreate other containers in the stack from cached images, including ones it excludes. OnlySpecific=true limits it to the updated container. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
58cbdf39f7
commit
c9506e2db0
3 files changed
+12
No files matched your search
@@ -37,6 +37,11 @@ MonoMode=true
|
||||
# Add release-note links (from urls.list) to each update listed
|
||||
PrintReleaseURL=true
|
||||
|
||||
# Recreate only the container that was updated, not its whole compose stack.
|
||||
# Otherwise the stack's other containers (excluded or unlabelled ones too)
|
||||
# get recreated from whatever image is cached locally.
|
||||
OnlySpecific=true
|
||||
|
||||
# Exclude containers from checking
|
||||
Exclude="dawarich_redis,dawarich_db"
|
||||
|
||||
|
||||
Reference in new issue
Block a user