Skip to content

Commit

Permalink
chore(ci): add repo for cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Evgeniy Frolov <evgeniy.frolov@flant.com>
  • Loading branch information
Fral738 committed Dec 13, 2024
1 parent a2e0364 commit 61cf6be
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/cleanup.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Cleanup Docker registry
on:
schedule:
- cron: '10 6 * * *'
- cron: "10 6 * * *"
repository_dispatch:
types: [cleanup]
workflow_dispatch:
Expand All @@ -16,6 +16,11 @@ jobs:
cleanup:
name: Cleanup
runs-on: ubuntu-latest-4-cores
strategy:
matrix:
repo:
- "ghcr.io/${{ github.repository_owner }}/werfio-guides"
- "ghcr.io/werf/werfio-guides-stages"
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -34,3 +39,4 @@ jobs:
WERF_LOG_VERBOSE: "on"
WERF_REPO_GITHUB_TOKEN: ${{ secrets.REGISTRY_CLEANUP_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WERF_REPO: ${{ matrix.repo }}

0 comments on commit 61cf6be

Please sign in to comment.