mirror of
https://gitea.stuzer.link/stuzer05/gitea-docker-registry-prune.git
synced 2025-12-20 17:55:38 -05:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 65e039a8e0 | |||
| ade74215f7 | |||
| 92a5aabe38 | |||
| 39add53b2f | |||
| 9bc4fd5c7a | |||
| 8f0976f201 | |||
| 2406f757e5 |
22
.gitea/workflows/remove-orphans.yaml
Normal file
22
.gitea/workflows/remove-orphans.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
remove-orphans:
|
||||
name: Remove Orphans
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
cache: false
|
||||
go-version-file: 'go.mod'
|
||||
|
||||
- env:
|
||||
GITEA_URL: https://git.furtherverse.com
|
||||
GITEA_TOKEN: ${{ secrets.TOKEN }}
|
||||
run: |
|
||||
go run .
|
||||
Reference in New Issue
Block a user