dockerfile: select meson from bookwork-backports #2
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: "♻ Cleanup GHCR" | ||
on: | ||
schedule: | ||
- cron: "0 0 * * 0" # At 00:00 on Sunday. | ||
jobs: | ||
clean-ghcr: | ||
name: cleanup images | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Delete old container images | ||
uses: snok/container-retention-policy@v2 | ||
id: retention | ||
with: | ||
image-names: * | ||
cut-off: One week ago UTC | ||
keep-at-least: 1 | ||
timestamp-to-use: updated_at | ||
skip-tags: latest | ||
account-type: personal | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Print Output | ||
run: |- | ||
echo "Failed cleanup for = ${{ steps.retention.outputs.failed }}" | ||
echo "Needs manual cleanup = ${{ steps.retention.outputs.needs-github-assistance }}" |