Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
fix prune workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
watzon committed Jan 7, 2024
1 parent 959ea65 commit 5b9e534
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docker-prune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -21,8 +18,8 @@ jobs:
uses: vlaurin/[email protected]
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
Expand Down

0 comments on commit 5b9e534

Please sign in to comment.