diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index b2224eb..fd924bf 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -1,4 +1,4 @@ -name: Lint and build Dockerfile +name: pr-build on: pull_request: @@ -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 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 79327b8..4629979 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 @@ -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