Skip to content

Commit d500ff4

Browse files
committed
Use repo scope
1 parent 38efa56 commit d500ff4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/container-maintenance.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Delete PR and untagged images older than 2 weeks
2020
uses: snok/[email protected]
2121
with:
22-
account: ${{ github.actor }}
22+
account: ${{ github.repository_owner }}
2323
token: ${{ github.token }}
2424
image-names: ${{ github.event.repository.name }}
2525
image-tags: "pr-*"
@@ -34,7 +34,7 @@ jobs:
3434
- name: Log into ghcr.io
3535
uses: redhat-actions/podman-login@v1
3636
with:
37-
username: ${{ github.actor }}
37+
username: ${{ github.repository_owner }}
3838
password: ${{ github.token }}
3939
registry: ghcr.io/${{ github.repository_owner }}
4040
- name: Get list of tags

0 commit comments

Comments
 (0)