mirror of
https://github.com/go-shiori/shiori.git
synced 2025-09-06 13:05:30 +08:00
fix: workflow delete tags input (#653)
This commit is contained in:
parent
888d053b2d
commit
7776881eef
2 changed files with 10 additions and 4 deletions
12
.github/workflows/_delete-registry-tag.yml
vendored
12
.github/workflows/_delete-registry-tag.yml
vendored
|
@ -1,6 +1,12 @@
|
|||
name: Delete registry tag
|
||||
|
||||
on: workflow_call
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
tag_name:
|
||||
description: 'The docker tag to remove'
|
||||
required: true
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
purge-image:
|
||||
|
@ -9,6 +15,6 @@ jobs:
|
|||
steps:
|
||||
- uses: chipkent/action-cleanup-package@1316a66015b82d745b57acbb6c570f2bb1d108f9 # v1.0.3
|
||||
with:
|
||||
package-name: ${{ github.event.repository.name }}
|
||||
tag: ${{ env.TAG_NAME }}
|
||||
package-name: ghcr.io/${{ github.repository }}
|
||||
tag: ${{ inputs.tag_name }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
2
.github/workflows/pull_request_closed.yml
vendored
2
.github/workflows/pull_request_closed.yml
vendored
|
@ -9,4 +9,4 @@ jobs:
|
|||
delete-tag:
|
||||
uses: ./.github/workflows/_delete-registry-tag.yml
|
||||
with:
|
||||
TAG_NAME: pr-${{ github.event.pull_request.number }}
|
||||
tag_name: pr-${{ github.event.pull_request.number }}
|
||||
|
|
Loading…
Add table
Reference in a new issue