mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-02 17:14:31 +02:00
quality-of-life: improve the clean
recipe (don't require sudo
anymore) (#3020)
This commit is contained in:
parent
cb8e336d25
commit
2033eeaf54
2 changed files with 7 additions and 3 deletions
|
@ -21,7 +21,7 @@ function _eclint
|
|||
if docker run --rm --tty \
|
||||
--volume "${REPOSITORY_ROOT}:/ci:ro" \
|
||||
--workdir "/ci" \
|
||||
--name eclint \
|
||||
--name dms-test_eclint \
|
||||
"mstruebing/editorconfig-checker:${ECLINT_VERSION}" ec -config "/ci/test/linting/.ecrc.json"
|
||||
then
|
||||
_log 'info' 'ECLint succeeded'
|
||||
|
@ -36,6 +36,7 @@ function _hadolint
|
|||
if docker run --rm --tty \
|
||||
--volume "${REPOSITORY_ROOT}:/ci:ro" \
|
||||
--workdir "/ci" \
|
||||
--name dms-test_hadolint \
|
||||
"hadolint/hadolint:v${HADOLINT_VERSION}-alpine" hadolint --config "/ci/test/linting/.hadolint.yaml" Dockerfile
|
||||
then
|
||||
_log 'info' 'Hadolint succeeded'
|
||||
|
@ -89,6 +90,7 @@ function _shellcheck
|
|||
if docker run --rm --tty \
|
||||
--volume "${REPOSITORY_ROOT}:/ci:ro" \
|
||||
--workdir "/ci" \
|
||||
--name dms-test_shellcheck \
|
||||
"koalaman/shellcheck-alpine:v${SHELLCHECK_VERSION}" ${CMD_SHELLCHECK[@]}
|
||||
then
|
||||
_log 'info' 'ShellCheck succeeded'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue