27 lines
594 B
YAML
27 lines
594 B
YAML
name: Dockerfile Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
|
|
jobs:
|
|
hadolint:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
dockerfile:
|
|
- docker/nginx/Dockerfile
|
|
- docker/nginx/testing/Dockerfile
|
|
- docker/sia/Dockerfile
|
|
- packages/dashboard/Dockerfile
|
|
- packages/dnslink-api/Dockerfile
|
|
- packages/health-check/Dockerfile
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: hadolint/hadolint-action@v2.0.0
|
|
with:
|
|
dockerfile: ${{ matrix.dockerfile }}
|