mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-14 00:54:21 +08:00
set dry-run false and use schedule trigger
This commit is contained in:
parent
9df0f95f5b
commit
25ad3a8d63
1 changed files with 5 additions and 4 deletions
9
.github/workflows/purgeGHCR.yml
vendored
9
.github/workflows/purgeGHCR.yml
vendored
|
@ -1,8 +1,9 @@
|
|||
name: Purge untagged images from GHCR
|
||||
|
||||
on:
|
||||
workflow_dispatch
|
||||
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '1 1 1 * *'
|
||||
jobs:
|
||||
purge:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -15,7 +16,7 @@ jobs:
|
|||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
organization: gravitl
|
||||
container: netmaker
|
||||
dry-run: true # Dry-run first, then change to `false`
|
||||
dry-run: false # Dry-run first, then change to `false`
|
||||
untagged: true
|
||||
- name: Prune Netclient
|
||||
uses: vlaurin/action-ghcr-prune@main
|
||||
|
@ -23,6 +24,6 @@ jobs:
|
|||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
organization: gravitl
|
||||
container: netclient
|
||||
dry-run: true # Dry-run first, then change to `false`
|
||||
dry-run: false # Dry-run first, then change to `false`
|
||||
untagged: true
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue