Skip to content

Commit

Permalink
Merge pull request #39 from gab-arrobo/gha-hadolint
Browse files Browse the repository at this point in the history
Add GHA for `hadolint`
  • Loading branch information
gab-arrobo authored Mar 20, 2024
2 parents 8d71646 + 71eb55b commit 02af9cc
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,22 @@ jobs:
- name: Build Docker image
run: make docker-build

hadolint:
name: hadolint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Dockerfile linter
uses: hadolint/[email protected]
# For now, ignoring:
# DL3008 warning: Pin versions in apt get install (e.g., apt-get install <package>=<version>); and
# DL3018 warning: Pin versions in apk add (e.g., apk add <package>=<version>)
with:
dockerfile: Dockerfile
ignore: DL3008,DL3018

license-check:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 02af9cc

Please sign in to comment.