step-security/Delete untagged ghcr
Delete containers on github container registry without tags
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Personal access token (PAT) used to fetch the repository. The PAT is configured with the local git config, which enables your scripts to run authenticated git commands. The post-job step removes the PAT. needs delete:packages permissions | yes | — |
| repository_owner | The repository owner name | yes | ${{ github.repository_owner }} |
| repository | Delete only from repository name | no | ${{ github.repository }} |
| package_name | Delete only from comma separated package names | no | — |
| untagged_only | Delete only package versions without tag | — | true |
| except_untagged_multiplatform | Exclude untagged multiplatform packages from deletion (only for --untagged_only) | — | true |
| with_sigs | Include tagged signatures of untagged containers that will be deleted (only for --untagged_only) | no | false |
| owner_type | Owner type (org or user) | yes | — |
Outputs
| name | description |
|---|---|
| num_deleted | Number of package versions that were deleted during the run. |