We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4bb780f commit 9f9d432Copy full SHA for 9f9d432
.github/workflows/container-maintenance.yml
@@ -6,6 +6,19 @@ on:
6
workflow_dispatch: # Enables manual triggering of the workflow
7
8
jobs:
9
+ cleanup-container-tags:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Delete PR and untagged images older than 2 weeks
13
+ uses: snok/[email protected]
14
+ with:
15
+ account: ${{ github.actor }}
16
+ token: ${{ github.token }}
17
+ image-names: ${{ github.event.repository.name }}
18
+ image-tags: "pr-*"
19
+ cut-off: 2w
20
+ dry-run: true
21
+
22
push-container-tags:
23
runs-on: ubuntu-latest
24
steps:
0 commit comments