mirror of
https://github.com/mykitserver/docker-limesurvey.git
synced 2025-12-06 16:39:11 +01:00
25 lines
624 B
YAML
25 lines
624 B
YAML
---
|
|
name: Lint Dockerfile
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint Dockerfile with hadolint
|
|
strategy:
|
|
matrix:
|
|
dockerfile:
|
|
- 5.0/apache/Dockerfile
|
|
- 5.0/fpm-alpine/Dockerfile
|
|
- 5.0/fpm/Dockerfile
|
|
- 6.0/apache/Dockerfile
|
|
- 6.0/fpm-alpine/Dockerfile
|
|
- 6.0/fpm/Dockerfile
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
|
|
- uses: hadolint/hadolint-action@v3.1.0
|
|
with:
|
|
dockerfile: ${{ matrix.dockerfile }}
|
|
ignore: "DL4006,DL3008,DL3018"
|