mirror of
https://github.com/Neur0toxine/docker-golang-alpine.git
synced 2024-11-25 14:36:06 +03:00
15 lines
434 B
YAML
15 lines
434 B
YAML
name: Lint Dockerfiles
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: brew install hadolint
|
|
- name: Lint Dockerfiles
|
|
run: |
|
|
hadolint {1.16,1.16-3.13,1.17,1.17-3.13,1.18,1.19,1.19-nofaccessat2}/Dockerfile
|
|
hadolint --ignore=DL3047 --ignore=DL3059 --ignore=DL4001 --ignore=SC2155 {1.18-3.13/Dockerfile,1.19-3.13/Dockerfile}
|