2
0
mirror of https://github.com/garabik/grc.git synced 2024-09-18 17:31:29 +02:00
bash-color-grc/conf.dockerimages
2016-06-18 18:18:18 -05:00

48 lines
895 B
Plaintext

# HEADERS
regexp=(?:\s|^)(REPOSITORY|TAG|IMAGE ID|CREATED|SIZE)(?:\s|$)
colours=default,underline
=====
# REPO, TAG, IMAGE ID
regexp=^([a-z]+\/?[^\s]+)\s+([^\s]+)\s+(\w+)
colours=default,bold white,bright_cyan,bright_black
=====
# latest
regexp=\s+(latest)\s+
colours=unchanged,cyan
=====
# REPOSITORY (Image name)
regexp=^(?:([a-z\-_0-9]+)/)*([a-z\-_0-9]+)\s
colours=default,yellow,bright_white
=====
# images without name
regexp=^<none>.*$
colours=bold red
=====
# Size 'K'
regexp=\s\d*[\.,]?\d*\s(KB?|B)
colours=green
======
# Size 'M'
regexp=\s\d*[\.,]?\d*\sMB?
colours=yellow
======
# Size 'G'
regexp=\s\d*[\.,]?\d*\sGB?
colours=red
=====
# CREATED hours
regexp=\s+\d+\shours\s\w+
colours=bright_green
======
# CREATED days
regexp=\s+\d+\sdays\s\w+
colours=green
======
# CREATED weeks
regexp=\s+\d+\sweeks\s\w+
colours=yellow
======
# CREATED months
regexp=\s+\d+\smonths\s\w+
colours=red