From 6865bbdb722ef137ffe9e73b3ccbd535c75e66c1 Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Wed, 14 Oct 2026 15:32:39 -0400 Subject: [PATCH] Use REGISTRY_USER secret and build for linux/amd64 Co-Authored-By: Claude Sonnet 5.5 --- .gitea/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index a6e8c78..9d79b63 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -32,9 +32,9 @@ jobs: steps: - uses: actions/checkout@v4 - name: Log in to the Gitea container registry - run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "$REGISTRY" -u "${{ gitea.actor }}" --password-stdin + run: echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "$REGISTRY" -u "${{ secrets.REGISTRY_USER }}" --password-stdin - name: Build - run: docker build -t "$IMAGE:${{ gitea.sha }}" -t "$IMAGE:latest" . + run: docker build --platform linux/amd64 -t "$IMAGE:${{ gitea.sha }}" -t "$IMAGE:latest" . - name: Smoke test (server refuses to start without accounts, but must import and print usage) run: docker run --rm "$IMAGE:latest" python server.py users - name: Push