From dc6a2f4794ed1d9d783f5b4c92292d4ee8f41a03 Mon Sep 17 00:00:00 2001 From: "trex (automation)" Date: Tue, 24 Nov 2026 14:41:49 -0600 Subject: [PATCH] ci: push to the trex registry namespace with a trex-owned token --- .gitea/workflows/docker.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml index 09d4b96..e2ab32d 100644 --- a/.gitea/workflows/docker.yml +++ b/.gitea/workflows/docker.yml @@ -16,8 +16,10 @@ jobs: uses: docker/login-action@v4 with: registry: git.jonb.io - username: '${{ gitea.actor }}' - password: '${{ secrets.JONBIO_CI }}' + # The package lives in the trex namespace (Gitea only lets the + # package owner push), so the token must be one trex owns. + username: trex + password: '${{ secrets.TREX_REGISTRY_TOKEN }}' - name: Set up Docker Buildx uses: docker/setup-buildx-action@v4 - name: Build and push @@ -26,5 +28,5 @@ jobs: context: . push: true tags: | - git.jonb.io/jblu/seafile-backup:latest - git.jonb.io/jblu/seafile-backup:${{ gitea.sha }} + git.jonb.io/trex/seafile-backup:latest + git.jonb.io/trex/seafile-backup:${{ gitea.sha }}