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:
2026-12-03 18:31:09 -07:00
co-authored by Claude Opus 5.5
parent dcc72fe5da
commit da36a669bf
7 changed files with 143 additions and 29 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
services:
{{NAME}}:
image: @CONTAINER@:${IMAGE_VERSION}
image: @CONTAINER@:${IMAGE_VERSION}${IMAGE_DIGEST:-}
container_name: {{NAME}}
hostname: {{NAME}}.@DOMAIN@
restart: always