-
Notifications
You must be signed in to change notification settings - Fork 1
114 lines (105 loc) · 3.47 KB
/
docker-hub-retention.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
name: Docker Hub Retention
on:
schedule:
- cron: "0 2 * * 1"
workflow_dispatch:
jobs:
docker-hub-retention:
runs-on: [ubuntu-latest]
steps:
- name: mailcatcher
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/mailcatcher
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 6m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: maildev
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/maildev
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 6m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: mailhog
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/mailhog
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 6m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: pdftk
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/pdftk
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 6m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: poppler
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/poppler-server
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 6m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: puppeteer
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/puppeteer
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 6m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: tesseract
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/tesseract
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 6m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: unoserver
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/unoserver
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 6m
- match: build-cache.*
retention: 14d
dryrun: "true"