Skip to content

Commit

Permalink
Lint Containerfile using Hadolint
Browse files Browse the repository at this point in the history
  • Loading branch information
containerscrew committed Mar 29, 2024
1 parent d997f35 commit c4bd536
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/hadolint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Hadolint 👀

on:
push:
branches:
- '*'
tags:
- '*'

jobs:
build:
name: Lint Containerfile using Hadolint
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v4

- uses: hadolint/[email protected]
with:
dockerfile: Containerfile
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# Badges

![Build Status](https://github.com/containerscrew/infratools/actions/workflows/build.yml/badge.svg)
![Build Status](https://github.com/containerscrew/infratools/actions/workflows/hadolint.yml/badge.svg)
[![License](https://img.shields.io/github/license/containerscrew/infratools)](/LICENSE)

[![DockerHub Badge](http://dockeri.co/image/containerscrew/infratools)](https://hub.docker.com/r/containerscrew/infratools/)
Expand Down

0 comments on commit c4bd536

Please sign in to comment.