fix(affine): update image tag 0.20.7 → 0.26.6

Image ghcr.io/toeverything/affine:0.20.7 was removed from ghcr.io,
causing persistent ImagePullBackOff. Updated to latest stable 0.26.6.
Prisma migrations run via init container on startup.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Viktor Barzin 2026-04-15 20:49:46 +00:00
parent 6e889760b0
commit f7411327d1

View file

@ -204,7 +204,7 @@ resource "kubernetes_deployment" "affine" {
# Init container to run database migrations
init_container {
name = "migration"
image = "ghcr.io/toeverything/affine:0.20.7"
image = "ghcr.io/toeverything/affine:0.26.6"
command = ["sh", "-c", "npx prisma migrate deploy && SERVER_FLAVOR=script node ./dist/main.js run"]
dynamic "env" {
@ -247,7 +247,7 @@ resource "kubernetes_deployment" "affine" {
container {
name = "affine"
image = "ghcr.io/toeverything/affine:0.20.7"
image = "ghcr.io/toeverything/affine:0.26.6"
port {
container_port = 3010