Skip to content

Commit

Permalink
build: clean up untagged GHCR images
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens committed Jul 10, 2024
1 parent 5d1eb48 commit c20ec14
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/ghcr-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Clean up untagged GHCR images

on:
push:
branches:
- cleanup-ghcr
workflow_dispatch:

jobs:
ghcr-cleanup:
runs-on: ubuntu-latest
steps:
- uses: quartx-analytics/ghcr-cleaner@v1
with:
owner-type: user
token: ${{ secrets.GITHUB_TOKEN }}
repository-owner: ${{ github.repository_owner }}
package-name: jsrat-frontend
delete-untagged: true

0 comments on commit c20ec14

Please sign in to comment.