Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .dclintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# https://github.com/zavoloklom/docker-compose-linter?tab=readme-ov-file#example-configuration-file
# rules: Customize which rules to apply and their severity levels (0 - Disabled, 1 - Warning, 2 - Error)
rules:
# require-quotes-in-ports: 1
services-alphabetical-order: 0
service-image-require-explicit-tag: 0
quiet: false
debug: true
15 changes: 15 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Lint Docker Compose

on:
pull_request:
workflow_dispatch:

jobs:
dclint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: docker-compose-linter/dclint-github-action@472be0872d03fbcb9d3b53b9c69eba00aeabb9af # v3.1.0
with:
path: ./docker/docker-compose.yml
recursive: true
Loading
Loading