Skip to content

Commit

Permalink
added github action for hadolint
Browse files Browse the repository at this point in the history
  • Loading branch information
grasdk committed Apr 23, 2024
1 parent 9ff97c2 commit fa313cb
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dockerfile-hadolint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# GitHub recommends pinning actions to a commit SHA.
# To get a newer version, you will need to update the SHA.
# You can also reference a tag or branch, but the action may change without warning.

name: Lint Dockerfile

on:
push:
branches:
- '**'
jobs:
dockerfile_linting:
name: Dockerfile linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hadolint/[email protected]
with:
dockerfile: ./Dockerfile
config: ./.config/hadolint.yml

0 comments on commit fa313cb

Please sign in to comment.