forked from bots-house/ghcr-delete-image-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
45 lines (35 loc) · 832 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
37
38
39
40
41
42
43
44
45
name: GHCR Delete Image
description: >
Delete images from ghcr.io with different strategies.
author: bots-house
branding:
icon: delete
color: blue
inputs:
owner:
description: >
Owner of the package (user or organization)
required: true
name:
description: >
Name of the package containing the version to delete.
required: true
token:
description: >
Token with the necessary scopes to delete package versions.
required: true
tag:
description: >
Tag to delete
required: false
untagged-keep-latest:
description: >
Delete all untagged images except the last N
required: false
untagged-older-than:
description: >
Delete all untagged images older than N in days.
required: false
runs:
using: "node16"
main: "dist/index.js"