From 703a279f973d2d1c273da2afb1ecb9d1a2c3d654 Mon Sep 17 00:00:00 2001 From: Flea Flicker Date: Sat, 23 May 2026 16:07:51 +0000 Subject: [PATCH 1/2] fix(ci): push Docker images to git.farh.net registry (CAR-964) Co-Authored-By: Paperclip --- .gitea/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 94efbfc..129d361 100644 --- a/.gitea/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.GITEA_TOKEN }} - name: Extract metadata id: meta @@ -147,7 +147,7 @@ jobs: - name: Update receiptwitness image tag run: | cd infra/apps/overlays/dev - kustomize edit set image ghcr.io/cartsnitch/receiptwitness:sha-${{ github.sha }} + kustomize edit set image git.farh.net/cartsnitch/receiptwitness:sha-${{ github.sha }} - name: Commit and push to infra run: | @@ -181,7 +181,7 @@ jobs: - name: Update receiptwitness image tag run: | cd infra/apps/overlays/uat - kustomize edit set image ghcr.io/cartsnitch/receiptwitness:${{ needs.build-and-push.outputs.calver_tag }} + kustomize edit set image git.farh.net/cartsnitch/receiptwitness:${{ needs.build-and-push.outputs.calver_tag }} - name: Commit and push to infra run: | -- 2.52.0 From da9e1e9af15ba2fc80e0c3d6a377911f1d4af940 Mon Sep 17 00:00:00 2001 From: Barcode Betty Date: Sun, 24 May 2026 18:39:33 +0000 Subject: [PATCH 2/2] =?UTF-8?q?ci:=20migrate=20GHCR=20=E2=86=92=20Gitea=20?= =?UTF-8?q?registry,=20use=20REGISTRY=5FTOKEN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes CAR-1009. - REGISTRY already git.farh.net (via CAR-964) - Change GITEA_TOKEN → REGISTRY_TOKEN for consistency Co-Authored-By: Paperclip --- .gitea/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 129d361..3a5565d 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -74,7 +74,7 @@ jobs: with: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} - password: ${{ secrets.GITEA_TOKEN }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Extract metadata id: meta -- 2.52.0