From 4b0c4aaa448f672293422214ce9e034ff5aa0be5 Mon Sep 17 00:00:00 2001 From: Pierre Smeyers <pierre.smeyers@gmail.com> Date: Tue, 19 Sep 2023 17:27:02 +0200 Subject: [PATCH] docs: document how to toggle Hadolint and dockerlint jobs Fixes #59 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 13bba71..cfefb3d 100644 --- a/README.md +++ b/README.md @@ -251,6 +251,7 @@ It is bound to the `build` stage, and uses the following variables: | Name | Description | Default value | | --------------------- | -------------------------------------- | --------------------------------------- | +| `DOCKER_LINT_ENABLED` | Set to `true` to enable dockerlint | _(none: disabled by default)_ | | `DOCKER_LINT_IMAGE` | The dockerlint image | `registry.hub.docker.com/projectatomic/dockerfile-lint:latest` | | `DOCKER_LINT_ARGS` | Additional `dockerfile_lint` arguments | _(none)_ | @@ -264,6 +265,7 @@ It is bound to the `build` stage, and uses the following variables: | Name | Description | Default value | | -------------------------- | -------------------------------------- | --------------------------------------- | +| `DOCKER_HADOLINT_DISABLED` | Set to `true` to disable Hadolint | _(none: enabled by default)_ | | `DOCKER_HADOLINT_IMAGE` | The Hadolint image | `registry.hub.docker.com/hadolint/hadolint:latest-alpine` | | `DOCKER_HADOLINT_ARGS` | Additional `hadolint` arguments | _(none)_ | -- GitLab