mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-11 19:27:11 -04:00
Create images-cleanup.yml
Clean up untagged images from the 'ledgersmb' package repo
This commit is contained in:
parent
d2b7939206
commit
7af784a491
18
.github/workflows/images-cleanup.yml
vendored
Normal file
18
.github/workflows/images-cleanup.yml
vendored
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user