diff options
author | Ben Iofel <github@iofel.me> | 2021-01-11 11:38:58 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 17:38:58 +0100 |
commit | 0a9db856de13ab51000cff1c312a41c3d51a6de1 (patch) | |
tree | b8c71ecdc9dac9ac637b565381fdfda9b898e046 /src | |
parent | 42c4590da93c44d9f2145a4123f8644259acb661 (diff) |
fix(docker_context): enable if either yml or yaml is found (#2053)
* fix(docker_context): enable if either yml or yaml is found
* Update docs
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/docker_context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/docker_context.rs b/src/modules/docker_context.rs index ae56f19f4..e88c657df 100644 --- a/src/modules/docker_context.rs +++ b/src/modules/docker_context.rs @@ -20,7 +20,7 @@ pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> { if config.only_with_files && !context .try_begin_scan()? - .set_files(&["docker-compose.yml", "Dockerfile"]) + .set_files(&["docker-compose.yml", "docker-compose.yaml", "Dockerfile"]) .is_match() { return None; |