fix: use secrets.REGISTRY_TOKEN for Gitea registry authentication
Production Deployment / Build and Push Docker Image (push) Failing after 17s
Production Deployment / Deploy to DigitalOcean Droplet (push) Has been skipped
Production Deployment / Deploy to Google Cloud Run (push) Has been skipped

This commit is contained in:
2026-05-31 08:23:47 +05:00
parent 6c5c85ec4c
commit 3c46cb7c5b
+2 -2
View File
@@ -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