Skip to content

Commit

Permalink
⚙️ config(ci): Lint Dockerfile using dockerfilelint.
Browse files Browse the repository at this point in the history
This fixes #969.
  • Loading branch information
make-github-pseudonymous-again committed May 20, 2024
1 parent c67d162 commit 89998b8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci:lint-dockerfile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: ci:lint-dockerfile

on:
push:
branches:
- main
pull_request:
merge_group:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:

lint:
name: Continuous integration (lint dockerfile)
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Lint Dockerfile 👕
run: |
npx dockerfilelint ./Dockerfile

0 comments on commit 89998b8

Please sign in to comment.