Skip to content

Commit a0c1a60

Browse files
committed
Always use github.repository_owner as this is the user corresponding to secrets.PAT_TOKEN as well
1 parent 6041cf6 commit a0c1a60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: docker/login-action@v3
2929
with:
3030
registry: ghcr.io
31-
username: ${{ github.actor }}
31+
username: ${{ github.repository_owner }}
3232
password: ${{ secrets.PAT_TOKEN }}
3333
- name: lower case repository_owner
3434
id: lower_case_repository_owner
@@ -61,7 +61,7 @@ jobs:
6161
uses: docker/login-action@v3
6262
with:
6363
registry: ghcr.io
64-
username: ${{ github.actor }}
64+
username: ${{ github.repository_owner }}
6565
password: ${{ secrets.PAT_TOKEN }}
6666
- name: lower case repository_owner
6767
id: lower_case_repository_owner

0 commit comments

Comments
 (0)