Pin a release's image by digest, and refuse downgrades without --downgrade
After pulling a release, coreapps records its registry digest and runs image:version@sha256:..., so a re-pushed tag can't change an installed app; installing that release again with another digest is refused. An older release than the installed one needs --downgrade (coreapps install/plan, coreapp install), since it may not understand the newer one's data. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
{{NAME}}:
|
||||
image: @CONTAINER@:${IMAGE_VERSION}
|
||||
image: @CONTAINER@:${IMAGE_VERSION}${IMAGE_DIGEST:-}
|
||||
container_name: {{NAME}}
|
||||
hostname: {{NAME}}.@DOMAIN@
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user