From 1cf7f92b6b9b0c739eda1b9a6615a89c2b44bb91 Mon Sep 17 00:00:00 2001 From: Barcode Betty Date: Sun, 24 May 2026 18:25:39 +0000 Subject: [PATCH 1/2] fix(ci): migrate Docker registry from GHCR to Gitea - Change REGISTRY from ghcr.io to git.farh.net - Replace GHCR login with Gitea Container Registry login using REGISTRY_TOKEN - Move workflow from .github/workflows to .gitea/workflows Co-Authored-By: Paperclip --- {.github => .gitea}/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename {.github => .gitea}/workflows/ci.yml (98%) diff --git a/.github/workflows/ci.yml b/.gitea/workflows/ci.yml similarity index 98% rename from .github/workflows/ci.yml rename to .gitea/workflows/ci.yml index ddc3c49..0664399 100644 --- a/.github/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -15,7 +15,7 @@ permissions: packages: write env: - REGISTRY: ghcr.io + REGISTRY: git.farh.net IMAGE_NAME: cartsnitch/receiptwitness jobs: @@ -69,12 +69,12 @@ jobs: echo "version=$VERSION" >> "$GITHUB_OUTPUT" echo "CalVer tag: $VERSION" - - name: Log in to GHCR + - name: Log in to Gitea Container Registry uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Extract metadata id: meta -- 2.52.0 From adfdf6b9993c4ca3bd60d13ee6d62f64df5ab111 Mon Sep 17 00:00:00 2001 From: Barcode Betty <32+cs_betty@noreply.git.farh.net> Date: Mon, 22 Jun 2026 21:52:18 +0000 Subject: [PATCH 2/2] fix: move python-multipart to runtime deps (CAR-1422) Starlette requires python-multipart to parse form/multipart bodies. Previously only in dev extras, so prod image never included it. Fixes POST /inbound/email 500 AssertionError. --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 7a9d9d1..b8838fa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,7 @@ dependencies = [ "sqlalchemy[asyncio]>=2.0,<3.0", "asyncpg>=0.29,<1.0", "resend>=2.0", + "python-multipart>=0.0.9", ] [project.optional-dependencies] -- 2.52.0