mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-04-25 07:52:35 +02:00
This change to the pipline deletes untagged / overwritten tags once a week to keep the memory consumption in the GH registry reasonable.
19 lines
437 B
YAML
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 }}
|