Skip to content

Commit

Permalink
build(deps): use coatl-dev/hadolint-coatl (#82)
Browse files Browse the repository at this point in the history
* build(deps): use coatl-dev/hadolint-coatl

* ci: rename pr-build workflow
  • Loading branch information
cesarcoatl authored Mar 26, 2024
1 parent 3da95c2 commit cc3e957
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
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

0 comments on commit cc3e957

Please sign in to comment.