feat(deploy): publish Discord bot image
CI / validate (push) Successful in 4m39s
Release / release (push) Successful in 6m23s

This commit is contained in:
dmg
2026-08-01 15:47:27 -04:00
parent d91572b831
commit 478f3a3b87
8 changed files with 64 additions and 4 deletions
+6
View File
@@ -33,11 +33,17 @@ Each release creates:
- Gitea release asset `minecraft-account-manager-velocity-VERSION.jar`
- `git.garvis.dev/dmg/minecraft-account-manager:VERSION`
- `git.garvis.dev/dmg/minecraft-account-manager:latest`
- `git.garvis.dev/dmg/minecraft-account-manager-bot:VERSION`
- `git.garvis.dev/dmg/minecraft-account-manager-bot:latest`
- `git.garvis.dev/dmg/minecraft-account-manager-migrate:VERSION`
- `git.garvis.dev/dmg/minecraft-account-manager-migrate:latest`
Use immutable version tags for deployments. `latest` is a convenience pointer to the newest release.
## Discord bot
Run exactly one bot replica with the same immutable release version as the web application. It requires `DATABASE_URL`, `APP_URL`, `DISCORD_BOT_TOKEN`, and `DISCORD_GUILD_ID`. Deploy slash commands separately with the release image when command definitions change.
## Database migration
Run the migration image for the same version before starting or replacing the web container: