Skip to content

Commit a6fd5a4

Browse files
committed
feat: add gha for dockerfile
1 parent 633f6b1 commit a6fd5a4

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/dockerfile.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# DO NOT EDIT: BEGIN
2+
# This snippet has been inserted automatically by mobsuccessbot, do not edit!
3+
# If changes are needed, update the action yamllint in
4+
# https://github.com/mobsuccess-devops/github-mobsuccess-policy
5+
name: Dockerfile
6+
7+
on:
8+
merge_group:
9+
types:
10+
- checks_requested
11+
pull_request:
12+
types:
13+
- opened
14+
- synchronize
15+
- reopened
16+
push:
17+
branches:
18+
- master
19+
- prod
20+
21+
jobs:
22+
dockerfile:
23+
name: Dockerfile
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v5
27+
- name: Dockerfile lint
28+
uses: hadolint/[email protected]
29+
with:
30+
dockerfile: "Dockerfile*"
31+
recursive: true
32+
format: tty
33+
override-info: DL3008,DL3018
34+
failure-threshold: warning
35+
# DO NOT EDIT: END

0 commit comments

Comments
 (0)