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 032d583 commit ec18b2bCopy full SHA for ec18b2b
.github/workflows/prune.yml
@@ -0,0 +1,23 @@
1
+name: Prune Packages
2
+on: # yamllint disable-line rule:truthy
3
+ schedule:
4
+ - cron: "0 0 * * *" # every day at midnight, utc
5
+ push:
6
+ branches:
7
+ - "main"
8
+
9
+jobs:
10
+ delete-package-versions:
11
+ permissions:
12
+ contents: read
13
+ packages: write
14
+ name: Delete untagged package versions
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: snok/[email protected]
18
+ with:
19
+ account: user
20
+ token: ${{ secrets.GITHUB_TOKEN }}
21
+ image-names: "udi-cuda s2i-cuda" # all packages owned by the account
22
+ tag-selection: untagged
23
+ cut-off: 1h
0 commit comments