Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): use coatl-dev/hadolint-coatl #82

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint and build Dockerfile
name: pr-build

on:
pull_request:
Expand All @@ -9,18 +9,8 @@ on:
- 'Dockerfile'

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Lint Dockerfile
uses: hadolint/hadolint-action@v3.1.0

build:
runs-on: ubuntu-latest
needs: lint
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
5 changes: 2 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
ci:
autoupdate_commit_msg: 'build(deps): pre-commit autoupdate'
skip: [hadolint]

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
Expand All @@ -17,7 +16,7 @@ repos:
rev: v0.10.0.1
hooks:
- id: shellcheck
- repo: https://github.com/hadolint/hadolint
rev: v2.12.1-beta
- repo: https://github.com/coatl-dev/hadolint-coatl
rev: 2.12.0.1
hooks:
- id: hadolint