Speed up pipeline #3
Workflow file for this run
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 up images | |
on: | |
pull_request: | |
branches: | |
- "**" | |
# synchronized is when you push new commits | |
types: ["opened", "synchronize"] | |
schedule: | |
- cron: '0 3 * * *' # Run every day at 3AM UTC | |
# required to enable manual triggers on the GH web ui | |
workflow_dispatch: | |
permissions: | |
packages: write | |
jobs: | |
delete_images: | |
name: Delete images | |
runs-on: ubuntu-latest | |
steps: | |
- name: Delete all images on GHCR | |
uses: dataaxiom/ghcr-cleanup-action@v1 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
repository: "lumigator" |