For 1.9.0 release #233
Workflow file for this run
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 Linting | |
on: | |
pull_request: | |
branches: | |
- 'develop' | |
- 'develop-1.9' | |
paths: | |
- 'Dockerfile' | |
- '.github/workflows/dockerfile-lint.yml' | |
push: | |
branches: | |
- 'develop' | |
paths: | |
- 'Dockerfile' | |
- '.github/workflows/dockerfile-lint.yml' | |
# When a PR is updated, cancel the jobs from the previous version. Merges | |
# do not define head_ref, so use run_id to never cancel those jobs. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
dockerfile-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: lint Dockerfile | |
uses: hadolint/[email protected] | |
with: | |
dockerfile: Dockerfile | |
ignore: DL3008,DL3002,DL3013,DL3059,SC2102 |