zavoloklom / docker-compose-linter

A command-line tool for validating and enforcing best practices in Docker Compose files.
MIT License
13 stars 1 forks source link

fix: Search for compose.ya?ml #22

Closed szymon-filipiak closed 1 month ago

szymon-filipiak commented 1 month ago

According to the compose documentation compose.yaml and compose.yml are preferred file names for docker compose.

This small fix changes the regex pattern to account for file names that start with compose instead of docker-compose.

docs: https://docs.docker.com/compose/intro/compose-application-model/#the-compose-file

zavoloklom commented 1 month ago

@szymon-filipiak Thank you for your contribution!

zavoloklom commented 1 month ago

:tada: This PR is included in version 1.0.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket: