fix(ci): rename GITHUB_TOKEN to GHCR_TOKEN for Forgejo compat

Forgejo reserves GITHUB_TOKEN as a protected secret name.
Use GHCR_USERNAME + GHCR_TOKEN instead.
This commit is contained in:
Franz Kafka 2026-03-21 19:31:20 +00:00
parent fed5fa469e
commit 9a6a40c817

View file

@ -38,8 +38,8 @@ jobs:
uses: https://github.com/docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.GHCR_USERNAME }}
password: ${{ secrets.GHCR_TOKEN }}
- name: Login to Docker Hub
if: github.event_name != 'pull_request'