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:
parent
fed5fa469e
commit
9a6a40c817
1 changed files with 2 additions and 2 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue