From 6c41661b61abe16de6056b4ab8107c8a59eb32d9 Mon Sep 17 00:00:00 2001 From: Felipe Martin <812088+fmartingr@users.noreply.github.com> Date: Fri, 21 Jul 2023 10:40:43 +0200 Subject: [PATCH] fix: pr tag prune using other action (#656) --- .github/workflows/_delete-registry-tag.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/_delete-registry-tag.yml b/.github/workflows/_delete-registry-tag.yml index c3d4c08..64420e3 100644 --- a/.github/workflows/_delete-registry-tag.yml +++ b/.github/workflows/_delete-registry-tag.yml @@ -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 }}