-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
40 lines (38 loc) · 1000 Bytes
/
config.yml
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
---
projects:
- name: myproject
registry:
address: http://127.0.0.1:5000/
credentials: ''
images:
- repository: my/project
rules:
- action: remove
# save LIMIT newest "master.[0-9]+" tags
- action: save
regexp: '^master\.[0-9]+$'
order: created
limit: 10
# save LIMIT newest across non-master tags
- action: save
regexp: '^(?!master).*$'
order: created
limit: 40
# save specific tag
- action: save
regexp: '^bar$'
- name: group_name/another-project
gitlab:
secret_token: 'something'
registry:
address: https://registry.example.org
verify_ssl: false
credentials: 'admin:pass'
images:
- repository: foo
rules:
- action: save
# remove images leaving LIMIT newest
- action: remove
order: created
limit: 20