From 75ef90fe0b79fcce5bc9f9605e1aa44dcd5860fa Mon Sep 17 00:00:00 2001 From: Barcode Betty Date: Sun, 24 May 2026 18:24:20 +0000 Subject: [PATCH] fix(ci): migrate Docker registry from GHCR to Gitea - Change REGISTRY from ghcr.io to git.farh.net - Remove Docker Hub login step (no longer needed) - 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 | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) rename {.github => .gitea}/workflows/ci.yml (96%) diff --git a/.github/workflows/ci.yml b/.gitea/workflows/ci.yml similarity index 96% rename from .github/workflows/ci.yml rename to .gitea/workflows/ci.yml index 9b6153a..93cd7a3 100644 --- a/.github/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -16,7 +16,7 @@ permissions: security-events: write env: - REGISTRY: ghcr.io + REGISTRY: git.farh.net IMAGE_NAME: cartsnitch/app jobs: @@ -124,20 +124,13 @@ jobs: echo "version=$VERSION" >> "$GITHUB_OUTPUT" echo "CalVer tag: $VERSION" - - name: Log in to Docker Hub - if: github.event_name == 'push' - uses: docker/login-action@v3 - with: - 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 }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Extract metadata id: meta