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 4baa348 commit 2ddc19e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/docker-prune.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Prune containers

on:
workflow_call:
workflow_dispatch:
inputs:
container:
type: string
Expand All @@ -15,10 +15,6 @@ on:
type: number
default: 3
description: "Keep last X containers"
secrets:
token:
required: true
description: "Private access token with packages read/delete permission"

jobs:
prune:
Expand All @@ -27,7 +23,7 @@ jobs:
- name: Prune GHCR containers
uses: vlaurin/[email protected]
with:
token: ${{ secrets.TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
organization: meikooy
container: ${{ inputs.container }}
keep-younger-than: ${{ inputs.older-than }}
Expand Down

0 comments on commit 2ddc19e

Please sign in to comment.