Skip to content

cleanup untagged images #16

cleanup untagged images

cleanup untagged images #16

name: cleanup untagged images
on:
schedule:
- cron: "5 4 4 */2 *"
# At 04:05 on day-of-month 4 in every 2nd month.”
workflow_dispatch:
env:
UPSTREAM_GITHUB_REPOSITORY: "mxpv/podsync" # Upstream repo
jobs:
check_release:
runs-on: ubuntu-latest
steps:
- name: Delete all containers from repository without tags
uses: Chizkiyahu/delete-untagged-ghcr-action@1c77a06b7f80ad4beb82b85919003831d47277d1 # v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository_owner: ${{ github.repository_owner }}
repository: ${{ github.repository }}
untagged_only: true
owner_type: user