Skip to content

Delete old container images #6

Delete old container images

Delete old container images #6

Workflow file for this run

name: Delete old container images
on:
schedule:
- cron: "0 0 * * *" # every day at midnight
workflow_dispatch:
jobs:
clean-ghcr:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Cleanup Untagged Images (> 1 day)
uses: snok/[email protected]
with:
image-names: support-pl/wireguard-agent
cut-off: A day ago UTC
account: Support-pl
token: ${{ secrets.GITHUB_TOKEN }}