Skip to content

Commit

Permalink
docs: change GitLab CI Example
Browse files Browse the repository at this point in the history
  • Loading branch information
zavoloklom committed Oct 1, 2024
1 parent fcf7151 commit c421f23
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,11 @@ that your Docker Compose files are always checked for errors before deployment.

```yaml
lint-docker-compose:
image: docker:latest
image:
name: zavoloklom/dclint
entrypoint: [""]
script:
- docker run --rm -i -v ${CI_PROJECT_DIR}:/app zavoloklom/dclint . -f codeclimate -o gl-codequality.json
- node --no-warnings /dclint/bin/dclint.js . -r -f codeclimate -o gl-codequality.json
artifacts:
reports:
codequality: gl-codequality.json
Expand Down

0 comments on commit c421f23

Please sign in to comment.