ShellCheck for CI that finds scripts to check automatically
6.8K
ShellCheck Docker image for CI that automatically finds scripts to check.
docker run --rm -tv "$(pwd):/source:ro" inviz/shellcheck
.PHONY: shellcheck
shellcheck:
docker run --rm -tv "$(CURDIR):/source:ro" inviz/shellcheck
lint-shellcheck:
stage: lint
image:
name: inviz/shellcheck
entrypoint: ["sh", "-c"]
script:
- shellcheck-ci
lint-shellcheck:
stage: lint
image:
name: inviz/shellcheck
entrypoint: ["sh", "-c"]
script:
- shellcheck-ci --junit > shellcheck.xml
artifacts:
when: always
paths:
- shellcheck.xml
reports:
junit: shellcheck.xml
Copyright © 2019–2020 Arthur Khashaev. See license for details.
Content type
Image
Digest
sha256:82fb10b89…
Size
14.1 MB
Last updated
over 3 years ago
docker pull inviz/shellcheck