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:
@@ -458,7 +458,11 @@ and image, the Core needs a token for the host first, `coreapp login
|
||||
only reads `coreapp.toml` and `icon.png` from the repository; `version` has
|
||||
to match the tag. On the same Core, `coreapp deploy` from the folder and
|
||||
`coreapp install` from the repository update the same app (same name, data
|
||||
and database).
|
||||
and database). A Core keeps running the image it installed, by digest: a
|
||||
release can't be fixed by pushing its tag again (installing it again is
|
||||
refused), so publish a new version. Going back to an older release needs
|
||||
`coreapp install --downgrade <url>@v<old>`; the user decides that, since
|
||||
the older version may not understand the newer one's data.
|
||||
|
||||
## Reporting back
|
||||
|
||||
|
||||
Reference in New Issue
Block a user