Docker-Swarm-Loadbalancer/.github/workflows/lint.yml
2024-01-28 07:11:04 +01:00

31 lines
774 B
YAML

name: Lint Docker Files
on:
schedule:
- cron: '0 4 * * TUE'
workflow_dispatch:
push:
jobs:
lint:
name: Lint Docker Files
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
dockerfile:
- marshall/Dockerfile
- php/Dockerfile.Core
- php/Dockerfile.Flavours
- laravel/Dockerfile
- wordpress/Dockerfile
- mqtt/Dockerfile
- node/Dockerfile
- redis/Dockerfile
- bouncer/Dockerfile
- mitm-proxy/Dockerfile
steps:
- uses: actions/checkout@v3
- uses: hadolint/hadolint-action@v3.1.0 # Yes you have to be version-specific, because they don't publish v3
with:
dockerfile: ./${{ matrix.dockerfile }}