Skip to content

Commit 983bedd

Browse files
committed
Always use github.repository_owner as this is the user corresponding to secrets.PAT_TOKEN as well
1 parent 4dad56d commit 983bedd

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
@@ -26,7 +26,7 @@ jobs:
2626
uses: docker/login-action@v2
2727
with:
2828
registry: ghcr.io
29-
username: ${{ github.actor }}
29+
username: ${{ github.repository_owner }}
3030
password: ${{ secrets.PAT_TOKEN }}
3131
- name: lower case repository_owner
3232
id: lower_case_repository_owner
@@ -59,7 +59,7 @@ jobs:
5959
uses: docker/login-action@v2
6060
with:
6161
registry: ghcr.io
62-
username: ${{ github.actor }}
62+
username: ${{ github.repository_owner }}
6363
password: ${{ secrets.PAT_TOKEN }}
6464
- name: lower case repository_owner
6565
id: lower_case_repository_owner

0 commit comments

Comments
 (0)