release/v1.4.1 #782
Workflow file for this run
This file contains hidden or 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: "Organisation ruleset: Docker CI" | |
| on: | |
| push: | |
| branches-ignore: | |
| - main | |
| paths: | |
| - .github/workflows/org.docker-ci.yml | |
| pull_request: | |
| types: [opened, edited, reopened, synchronize] | |
| branches: [main, master, dev] | |
| jobs: | |
| validate: | |
| env: | |
| HADOLINT_VERSION: "v2.14.0" | |
| name: Validate Dockerfile | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Validate Dockerfile | |
| if: ${{ hashFiles('Dockerfile') != '' }} | |
| run: | | |
| docker pull hadolint/hadolint:${{env.HADOLINT_VERSION}} | |
| docker run -e HADOLINT_FAILURE_THRESHOLD=error -e HADOLINT_VERBOSE=1 --rm -i hadolint/hadolint < Dockerfile |