-
Notifications
You must be signed in to change notification settings - Fork 3
40 lines (37 loc) · 835 Bytes
/
dockerfiles.yml
File metadata and controls
40 lines (37 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: build-lint-docker-images
on:
push:
branches:
- "master"
pull_request:
types: [ opened, synchronize, reopened ]
branches:
- "*"
paths:
- "!**"
- "build/docker/**"
- "!build/docker/**.sh"
- ".github/workflows/dockerfiles.yml"
jobs:
lint-dockerfiles:
strategy:
fail-fast: false
max-parallel: 4
matrix:
dockerfile:
[
"./build/docker/go-tools/Dockerfile",
]
runs-on: "ubuntu-24.04"
name: Lint ${{ matrix.dockerfile }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Lint
uses: jbergstroem/hadolint-gh-action@v1
with:
dockerfile: ${{ matrix.dockerfile }}
annotate: true
error_level: 2