Spaces:
Runtime error
Runtime error
chore: deleting one time gh action file
Browse files
.github/workflows/version-cleanup.yml
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
name: Version Cleanup
|
2 |
-
|
3 |
-
# running on manual dispatch
|
4 |
-
on:
|
5 |
-
workflow_dispatch:
|
6 |
-
|
7 |
-
env:
|
8 |
-
# set the registry to the GitHub Container Registry
|
9 |
-
REGISTRY: ghcr.io
|
10 |
-
# set github.repository as <account>/<repo>
|
11 |
-
IMAGE_NAME: ${{ github.repository }}:${{ github.ref }}
|
12 |
-
|
13 |
-
# jobs to run
|
14 |
-
jobs:
|
15 |
-
|
16 |
-
# cleanup job
|
17 |
-
cleanup:
|
18 |
-
runs-on: ubuntu-latest
|
19 |
-
permissions:
|
20 |
-
contents: read
|
21 |
-
packages: write
|
22 |
-
id-token: write
|
23 |
-
|
24 |
-
# steps to run on the job
|
25 |
-
steps:
|
26 |
-
- name: Delete Package Versions
|
27 |
-
uses: actions/[email protected]
|
28 |
-
with:
|
29 |
-
package-name: 'thesis-webapp'
|
30 |
-
package-type: 'container'
|
31 |
-
min-versions-to-keep: 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|