Cleanup container registry #290
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 container registry | |
on: | |
schedule: | |
- cron: '0 6 * * *' | |
repository_dispatch: | |
types: [cleanup] | |
jobs: | |
cleanup: | |
name: Cleanup | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Fetch all history for all tags and branches | |
run: git fetch --prune --unshallow | |
- name: Cleanup | |
uses: werf/actions/cleanup@v1.2 | |
with: | |
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }} |