From 3c46cb7c5b5e6bad47c8908ca6c6a87897a05923 Mon Sep 17 00:00:00 2001 From: Enciphered Date: Sun, 31 May 2026 08:23:47 +0500 Subject: [PATCH] fix: use secrets.REGISTRY_TOKEN for Gitea registry authentication --- .gitea/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index c283d43..fafe824 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -22,7 +22,7 @@ jobs: with: registry: git.nciphered.com username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and Push Image uses: docker/build-push-action@v5 @@ -49,7 +49,7 @@ jobs: key: ${{ secrets.DROPLET_SSH_KEY }} script: | # Authenticate with Gitea registry on Droplet - docker login -u "${{ github.actor }}" -p "${{ secrets.GITHUB_TOKEN }}" git.nciphered.com + docker login -u "${{ github.actor }}" -p "${{ secrets.REGISTRY_TOKEN }}" git.nciphered.com # Pull latest image docker pull git.nciphered.com/${{ github.repository }}:latest