Skip to content
This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Commit dfe3b41

Browse files
committed
fix cleanup pr
1 parent 36f47af commit dfe3b41

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

.github/workflows/cleanup-pr.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,24 +9,34 @@ jobs:
99
name: Delete image from ghcr.io
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: Delete base image
12+
- name: Delete github-actions-runner:base
1313
uses: bots-house/[email protected]
1414
with:
1515
owner: ${{ github.repository_owner }}
1616
name: github-actions-runner
17-
token: ${{ secrets.GITHUB_TOKEN }}
17+
token: ${{ secrets.GH_DEL_IMAGE_PAT }}
1818
tag: base-pr-${{ github.event.pull_request.number }}
19-
- name: Delete kaniko-sidecar image
19+
20+
- name: Delete github-actions-runner:kaniko-sidecar
2021
uses: bots-house/[email protected]
2122
with:
2223
owner: ${{ github.repository_owner }}
2324
name: github-actions-runner
24-
token: ${{ secrets.GITHUB_TOKEN }}
25+
token: ${{ secrets.GH_DEL_IMAGE_PAT }}
2526
tag: kaniko-sidecar-pr-${{ github.event.pull_request.number }}
26-
- name: Delete kaniko-sidecar image
27+
28+
- name: Delete github-actions-runner:ansible-k8s
29+
uses: bots-house/[email protected]
30+
with:
31+
owner: ${{ github.repository_owner }}
32+
name: github-actions-runner
33+
token: ${{ secrets.GH_DEL_IMAGE_PAT }}
34+
tag: ansible-k8s-pr-${{ github.event.pull_request.number }}
35+
36+
- name: Delete github-actions-runner:fullstacked
2737
uses: bots-house/[email protected]
2838
with:
2939
owner: ${{ github.repository_owner }}
3040
name: github-actions-runner
31-
token: ${{ secrets.GITHUB_TOKEN }}
32-
tag: ansible-k8s-pr-${{ github.event.pull_request.number }}
41+
token: ${{ secrets.GH_DEL_IMAGE_PAT }}
42+
tag: fullstacked-pr-${{ github.event.pull_request.number }}

0 commit comments

Comments
 (0)