Skip to content

Commit 888e69e

Browse files
author
Andreas Mautz
committed
[INFRA] add pull_request.yml for github workflow
1 parent b49ef70 commit 888e69e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Pull Request"
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
jobs:
8+
lint:
9+
strategy:
10+
matrix:
11+
version: [ 'buster', 'bullseye', 'bookworm' ]
12+
runs-on: ubuntu-latest
13+
container: pipelinecomponents/hadolint:latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
- uses: hadolint/[email protected]
17+
with:
18+
dockerfile: ./src/${{ matrix.version }}/src/Dockerfile

0 commit comments

Comments
 (0)