Update regex to also detect compose.yaml files

According to the new compose specification, compose.yaml is the
preferred file name.
This commit is contained in:
Claes Hallström 2023-04-08 23:30:53 +02:00
parent f16a4574c1
commit 5ed0959cc4
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
description: Checks that docker-compose files are valid
language: script
entry: compose-check.sh
files: docker-compose.y[a]{0,1}ml$
files: (docker-)?compose.y[a]{0,1}ml$
- id: hadolint
name: Lint Dockerfiles