Skip to content

Commit 623ceb6

Browse files
committed
fix: install hadolint in workflow and correct paths filter
1 parent 1e3bd6f commit 623ceb6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/buildah.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
branches:
77
- main
88
paths:
9-
- '*/Containerfile'
10-
- '.github/workflows/build.yml'
9+
- '*/**'
10+
- '.github/workflows/buildah.yml'
1111
workflow_dispatch:
1212
inputs:
1313
image:
@@ -54,6 +54,12 @@ jobs:
5454
- name: Checkout
5555
uses: actions/checkout@v4
5656

57+
- name: Install hadolint
58+
run: |
59+
curl -sSL -o /usr/local/bin/hadolint \
60+
https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64
61+
chmod +x /usr/local/bin/hadolint
62+
5763
- name: Run pre-commit
5864
uses: pre-commit/action@v3.0.1
5965

0 commit comments

Comments
 (0)