aboutsummaryrefslogtreecommitdiff
path: root/tasks/hadolint/task.yml
blob: 40cf683d00cbaaef10cf1b8cda061053997ef0bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
platform: linux
image_resource:
  type: registry-image
  source:
    repository: docker.io/hadolint/hadolint
    tag: latest-debian

inputs:
  - name: docker-repo

run:
  path: bash
  args:
    - -eufo
    - pipefail
    - -c
    - |
      hadolint "${DOCKERFILE}"

params:
  DOCKERFILE: docker-repo/Dockerfile