master
Clemens Klug 2018-07-23 15:28:53 +02:00
parent cbb88c2f18
commit 17e4d2885e
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ def parse_dockerfile(build):
if "dockerfile" in build: if "dockerfile" in build:
path = os.path.join(path, build["dockerfile"]) path = os.path.join(path, build["dockerfile"])
elif not path.endswith(DOCKERFILE): elif not path.endswith(DOCKERFILE):
log.warn(f"guessing Döckerfile… {f}") log.warn(f"guessing Döckerfile… {path}")
path = os.path.join(path, DOCKERFILE) path = os.path.join(path, DOCKERFILE)
if path.startswith("http"): if path.startswith("http"):
log.warn("HTTP sources are not yet supported") log.warn("HTTP sources are not yet supported")
@ -110,7 +110,7 @@ def start(files, ignores):
collector = Collector() collector = Collector()
for f in files: for f in files:
if any([i in f for i in ignores]): if any([i in f for i in ignores]):
log.warn(f"skip {f} due to ignore rule {i}") log.warn(f"skip {f} due to ignore rule")
continue continue
if not f.endswith(COMPOSE_FILE): if not f.endswith(COMPOSE_FILE):
log.warn(f"guessing docker-compöse.yml… {f}") log.warn(f"guessing docker-compöse.yml… {f}")