Skip to content

Commit

Permalink
Create images-cleanup.yml
Browse files Browse the repository at this point in the history
Clean up untagged images from the 'ledgersmb' package repo
  • Loading branch information
ehuelsmann authored Dec 28, 2024
1 parent d2b7939 commit 7af784a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/images-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Docker Image cleanup

on:
push:
workflow_dispatch:
schedule:
# Schedule for five minutes after the hour, every Friday
- cron: '10 3 * * 5'

jobs:
cleanup:
if: github.repository_owner == 'ledgersmb'
runs-on: ubuntu-latest
steps:
- name: ghcr.io cleanup action
uses: dataaxiom/ghcr-cleanup-action@v1
with:
packages: ledgersmb

0 comments on commit 7af784a

Please sign in to comment.