Skip to content

Commit b9b5b41

Browse files
[ci] update werf cleanup rules (#1302)
* [ci] update werf cleanup rules Signed-off-by: Aleksey Gavrilov <[email protected]>
1 parent d125f75 commit b9b5b41

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

werf_cleanup.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ cleanup:
1111
limit:
1212
in: 168h # keep dev images build during last week which not main|pre-alpha
1313
- references:
14-
branch: /main|pre-alpha|release-.*/
14+
branch: /main|release-[0-9]+.*/
15+
limit:
16+
last: 5 # keep 5 images for branches release-* and main
1517
imagesPerReference:
16-
last: 5 # keep 5 images for branches main|pre-alpha
18+
last: 1

0 commit comments

Comments
 (0)