Philipp Horstenkamp 9cc0654f56
Delete untagged images (#151)
This change to the pipline deletes untagged / overwritten tags once a
week to keep the memory consumption in the GH registry reasonable.
2023-09-25 20:28:49 +02:00

19 lines
437 B
YAML

name: Auto Maintenance Cycle
on:
schedule:
- cron: 30 7 * * 1
jobs:
delete_all_untagged:
runs-on: ubuntu-latest
strategy:
matrix:
name: [ingest, data-transformation, web-server]
steps:
- name: purge packages
uses: dylanratcliffe/delete-untagged-containers@main
with:
package_name: ${{ github.event.repository.name }}/${{ matrix.name }}
token: ${{ secrets.GITHUB_TOKEN }}