fix: pr tag prune using other action (#656)

This commit is contained in:
Felipe Martin 2023-07-21 10:40:43 +02:00 committed by GitHub
parent b70ab19905
commit 6c41661b61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,12 +9,14 @@ on:
type: string
jobs:
purge-image:
name: Delete tag
purge-image-tag:
name: Delete image from ghcr.io
runs-on: ubuntu-latest
steps:
- uses: chipkent/action-cleanup-package@1316a66015b82d745b57acbb6c570f2bb1d108f9 # v1.0.3
- name: Delete image tag
uses: bots-house/ghcr-delete-image-action@3827559c68cb4dcdf54d813ea9853be6d468d3a4 # v1.1.0
with:
package-name: ${{ github.repository }}
owner: go-shiori
name: shiori
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ inputs.tag_name }}
github-token: ${{ secrets.GITHUB_TOKEN }}