fix: use GHCR_TOKEN with write:packages scope for GHCR login

This commit is contained in:
ashim-hq
2026-04-17 02:12:32 +08:00
parent 62f0a2a238
commit e14414f306
+4 -4
View File
@@ -101,8 +101,8 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GHCR_TOKEN }}
- name: Extract metadata - name: Extract metadata
id: meta id: meta
@@ -160,8 +160,8 @@ jobs:
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }} password: ${{ secrets.GHCR_TOKEN }}
- name: Extract metadata - name: Extract metadata
id: meta id: meta