core: update tool versions #201
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dockerfile Lint | |
on: | |
pull_request: | |
branches: [ "main" ] | |
paths: ["Dockerfile"] | |
# Abort the previous running CI workflow in the same pull request | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
dockerfile-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run Dockerfile lint | |
# https://github.com/hadolint/hadolint | |
# TODO: find better alternatives? | |
# Do no fail the workflow on linter error at initial phase, will update this workflow later | |
run: docker run --rm -i hadolint/hadolint < Dockerfile || true |