Skip to content

Commit d793e30

Browse files
committed
Fix
1 parent 300fda1 commit d793e30

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ jobs:
3434
cache-to: type=gha,scope=${{ github.ref_name }},mode=max
3535
file: Dockerfile
3636

37+
- name: Run Dockerfile linter on production Dockerfile
38+
uses: hadolint/hadolint-action@v3.1.0
39+
with:
40+
dockerfile: "Dockerfile"
41+
42+
- name: Run Dockerfile linter on dev Dockerfile
43+
uses: hadolint/hadolint-action@v3.1.0
44+
with:
45+
dockerfile: "Dockerfile.dev"
46+
3747
linters:
3848
name: Linters
3949
runs-on: ubuntu-latest
@@ -61,10 +71,6 @@ jobs:
6171
repo-token: ${{ secrets.GITHUB_TOKEN }}
6272
- name: Run Code Analysis
6373
run: bundle exec rails code:analysis
64-
- name: Run Dockerfile linter
65-
uses: hadolint/hadolint-action@v3.1.0
66-
with:
67-
dockerfile: Dockerfile*
6874
tests:
6975
name: Tests
7076
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)