diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7142b8a..962082e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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/hadolint-action@v3.1.0 + # For now, ignoring: + # DL3008 warning: Pin versions in apt get install (e.g., apt-get install =); and + # DL3018 warning: Pin versions in apk add (e.g., apk add =) + with: + dockerfile: Dockerfile + ignore: DL3008,DL3018 + license-check: runs-on: ubuntu-latest steps: