From 1674e759f6eb0ec92fa43dcbbaf6ef50590c95c2 Mon Sep 17 00:00:00 2001 From: Flea Flicker Date: Sat, 23 May 2026 15:33:24 +0000 Subject: [PATCH] ci: push Docker images to Gitea registry (git.farh.net) CTO decision: use Gitea built-in OCI registry per CAR-963. - Replace GHCR login with Gitea Container Registry login - REGISTRY: ghcr.io -> git.farh.net - Use secrets.GITEA_TOKEN for authentication - Tag convention unchanged: CalVer, latest, sha- Co-Authored-By: Paperclip --- .github/workflows/ci.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5dc66a7..1f4e456 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ permissions: security-events: write env: - REGISTRY: ghcr.io + REGISTRY: git.farh.net IMAGE_NAME: cartsnitch/cartsnitch RECEIPTWITNESS_IMAGE_NAME: cartsnitch/receiptwitness API_IMAGE_NAME: cartsnitch/api @@ -133,13 +133,13 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Log in to GHCR + - name: Log in to Gitea Container Registry if: github.event_name == 'push' uses: docker/login-action@v3 with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + registry: git.farh.net + username: cartsnitch + password: ${{ secrets.GITEA_TOKEN }} - name: Extract metadata id: meta @@ -227,13 +227,13 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Log in to GHCR + - name: Log in to Gitea Container Registry if: github.event_name == 'push' uses: docker/login-action@v3 with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + registry: git.farh.net + username: cartsnitch + password: ${{ secrets.GITEA_TOKEN }} - name: Extract metadata id: meta @@ -319,13 +319,13 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Log in to GHCR + - name: Log in to Gitea Container Registry if: github.event_name == 'push' uses: docker/login-action@v3 with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + registry: git.farh.net + username: cartsnitch + password: ${{ secrets.GITEA_TOKEN }} - name: Extract metadata (API) id: meta