-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
36 lines (34 loc) · 852 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: ghcr.io container cleanup
description: Remove old and untagged images from the ghcr.io container registry
inputs:
package-owner:
description: Organization/Owner for the package
required: true
type: string
default: ${{ github.actor }}
package-name:
description: Name of the package
required: true
type: string
keep-versions:
description: Number of package versions to keep
required: true
type: string
default: 5
token:
description: GitHub PAT to perform API calls
required: true
type: string
delete-orphans:
description: Delete versions which are not tagged
required: true
type: boolean
default: false
dry-run:
description: Don't perform DELETE API calls
required: true
type: boolean
default: false
runs:
using: 'docker'
image: 'Dockerfile'