fix prune workflow
Docker / build (push) Has been cancelled
Details
Docker / build (push) Has been cancelled
Details
This commit is contained in:
parent
959ea65508
commit
5b9e534fff
|
@ -6,10 +6,7 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
# Use docker.io for Docker Hub if empty
|
||||
REGISTRY: ghcr.io
|
||||
# github.repository as <account>/<repo>
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
package_name: paste69
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -21,8 +18,8 @@ jobs:
|
|||
uses: vlaurin/action-ghcr-prune@v0.5.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
organization: ${{ github.actor }}
|
||||
container: ${{ env.IMAGE_NAME }}
|
||||
organization: ${{ github.repository_owner }}
|
||||
container: ${{ env.package_name }}
|
||||
dry-run: true # Dry-run first, then change to `false`
|
||||
keep-younger-than: 2 # days
|
||||
keep-last: 2
|
||||
|
|
Loading…
Reference in New Issue