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:
|
workflow_dispatch:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# Use docker.io for Docker Hub if empty
|
package_name: paste69
|
||||||
REGISTRY: ghcr.io
|
|
||||||
# github.repository as <account>/<repo>
|
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -21,8 +18,8 @@ jobs:
|
||||||
uses: vlaurin/action-ghcr-prune@v0.5.0
|
uses: vlaurin/action-ghcr-prune@v0.5.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
organization: ${{ github.actor }}
|
organization: ${{ github.repository_owner }}
|
||||||
container: ${{ env.IMAGE_NAME }}
|
container: ${{ env.package_name }}
|
||||||
dry-run: true # Dry-run first, then change to `false`
|
dry-run: true # Dry-run first, then change to `false`
|
||||||
keep-younger-than: 2 # days
|
keep-younger-than: 2 # days
|
||||||
keep-last: 2
|
keep-last: 2
|
||||||
|
|
Loading…
Reference in New Issue