Clean Repo Image #220
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clean Repo Image | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 0 * * *' | |
# run every day | |
jobs: | |
clean-ghcr-texlive: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Delete 'untaged' containers | |
uses: snok/container-retention-policy@v2 | |
with: | |
image-names: overleaf/*,overleaf | |
cut-off: 1 min ago UTC | |
account-type: org | |
org-name: ayaka-notes | |
untagged-only: true | |
token: ${{ secrets.ORGTOKEN }} |