mirror of
https://github.com/Neur0toxine/docker-golang-alpine.git
synced 2024-11-28 16:06:04 +03:00
14 lines
394 B
YAML
14 lines
394 B
YAML
name: Lint Dockerfiles
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: brew install hadolint
|
|
- name: Lint Dockerfiles
|
|
run: |
|
|
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,1.22,1.22-nofaccessat2}/Dockerfile
|