Let a Core keep a token for one owner's apps on a host

coreapp login <host>/<owner> saves a token used for that owner's
repositories and images before the host's token, so apps from different
accounts on one host can use different tokens. git sends it only under
https://<host>/<owner>/; docker gets it for that pull only. Errors name
the token that was tried.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 20:51:41 -07:00
co-authored by Claude Opus 5.5
parent c337ba2530
commit f0468c43f2
6 changed files with 114 additions and 48 deletions
+4 -2
View File
@@ -41,8 +41,10 @@ To check a release the way a Core's owner will get it:
`version` has to match the tag.
- Coreapps are often private: for a private repository and image, the Core
needs a token for the host first, `coreapp login <gitea-host>`, which asks
for a user name and a read-only token (repositories and packages). That's
the user's to enter, not yours.
for a user name and a read-only token (repositories and packages); or for
one owner there, `coreapp login <gitea-host>/<owner>`, when that owner's
apps need another account's token. That's the user's to enter, not
yours.
- On the same Core, `coreapp deploy` from the folder and `coreapp install`
from the repository update the same app (same name, data and database).
- A Core keeps running the image it installed, by digest: a release can't