-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from gab-arrobo/gha-hadolint
Add GHA for `hadolint`
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|