Skip to content

Commit 65ad833

Browse files
committed
ci: Use GHCR_TOKEN secret for package authentication
Switch from GITHUB_TOKEN to personal access token stored in secrets to resolve package write permission issues.
1 parent 6673838 commit 65ad833

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ jobs:
3333
uses: docker/login-action@v3
3434
with:
3535
registry: ${{ env.REGISTRY }}
36-
username: ${{ github.actor }}
37-
password: ${{ secrets.GITHUB_TOKEN }}
36+
username: ${{ github.repository_owner }}
37+
password: ${{ secrets.GHCR_TOKEN }}
3838

3939
- name: Extract metadata (tags, labels) for Docker
4040
id: meta

0 commit comments

Comments
 (0)