-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (33 loc) · 973 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
name: 'JFrog cleaner'
description: 'Help you to clean your JFrog repositories and registries'
author: 'ADEO/DXP'
inputs:
artifactoryUrl:
required: true
description: "The Artifactory URL"
apiKey:
required: true
description: "An API key for a user with 'delete' rights on the selected registry"
repository:
required: true
description: "The repository name in which your packages are stored, eg. 'docker-local'"
path:
required: true
description: ""
pattern:
required: true
description: "Which pattern to use to select the packages to delete. Example: TODO"
dryRun:
required: false
description: "Whether to really delete the packages or just list what would be deleted"
default: "true"
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.artifactoryUrl }}
- ${{ inputs.apiKey }}
- ${{ inputs.repository }}
- ${{ inputs.path }}
- ${{ inputs.pattern }}
- ${{ inputs.dryRun }}