docker-golang-alpine/.github/workflows/hadolint.yml

14 lines
371 B
YAML
Raw Normal View History

2022-07-26 16:24:27 +03:00
name: Lint Dockerfiles
on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
2022-07-26 18:12:25 +03:00
- run: brew install hadolint
- name: Lint Dockerfiles
run: |
2023-08-09 15:42:03 +03:00
hadolint {1.16,1.16-3.13,1.17,1.17-3.13,1.18,1.18-nofaccessat2,1.19,1.19-nofaccessat2,1.20,1.20-nofaccessat2,1.21,1.21-nofaccessat2}/Dockerfile