diff --git a/src/lint.py b/src/lint.py index 6938f9a..ba0a93e 100644 --- a/src/lint.py +++ b/src/lint.py @@ -119,6 +119,12 @@ def is_default(validator, properties, instance, schema): ) exit_code = 1 +if configuration.get("watchdog"): + print( + f"::error file={config}::'watchdog', is obsolete. Use the native Docker HEALTHCHECK directive instead." + ) + exit_code = 1 + # Checks regarding build file(if found) for file_type in ("json", "yaml", "yml"): build = path / f"build.{file_type}"