mirror of
https://github.com/gravitl/netmaker.git
synced 2024-11-14 13:44:37 +08:00
eb2e9958b7
updated actions to latest versions
29 lines
800 B
YAML
29 lines
800 B
YAML
name: Purge untagged images from GHCR
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '1 1 1 * *'
|
|
jobs:
|
|
purge:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
- name: Prune Netmaker
|
|
uses: vlaurin/action-ghcr-prune@main
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
organization: gravitl
|
|
container: netmaker
|
|
dry-run: false # Dry-run first, then change to `false`
|
|
untagged: true
|
|
- name: Prune Netclient
|
|
uses: vlaurin/action-ghcr-prune@main
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
organization: gravitl
|
|
container: netclient
|
|
dry-run: false # Dry-run first, then change to `false`
|
|
untagged: true
|
|
|