Skip to content

Commit 7abe1a5

Browse files
authored
ci: automate registry cleanup and increase retention period (#55)
1 parent 092a89b commit 7abe1a5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/harbor-cleanup.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Harbor Registry Cleanup
22

33
on:
4-
# schedule:
5-
# # Run daily at 2:00 AM UTC
6-
# - cron: '0 2 * * *'
4+
schedule:
5+
# Run daily at 10:00 AM UTC
6+
- cron: '0 10 * * *'
77
workflow_dispatch:
88
inputs:
99
dry_run:
@@ -19,8 +19,8 @@ env:
1919
PROJECT_NAME: eopf-sentinel-zarr-explorer
2020
REPOSITORY_NAME: data-pipeline
2121
# Retention periods in days
22-
SHA_RETENTION_DAYS: 0 #7
23-
PR_RETENTION_DAYS: 1 #90
22+
SHA_RETENTION_DAYS: 7
23+
PR_RETENTION_DAYS: 60
2424

2525
jobs:
2626
cleanup:

0 commit comments

Comments
 (0)