Skip to content
Commits on Source (1)
......@@ -81,6 +81,10 @@ spec:
type: array
description: "Runners"
default: []
check:
type: boolean
description: "Run hadolint"
default: true
---
include:
......@@ -92,6 +96,10 @@ stages: $[[ inputs.stages ]]
check:$[[ inputs.name ]]:
stage: test
image: harbor.local/docker.io/hadolint/hadolint:latest-alpine
rules:
- if: '"$[[ inputs.check ]]" == "true"'
when: on_success
- when: never
before_script:
- hadolint --version
script:
......
......@@ -81,6 +81,10 @@ spec:
type: array
description: "Runners"
default: []
check:
type: boolean
description: "Run hadolint"
default: true
---
include:
......@@ -92,6 +96,10 @@ stages: $[[ inputs.stages ]]
check:$[[ inputs.name ]]:
stage: test
image: harbor.local/docker.io/hadolint/hadolint:latest-alpine
rules:
- if: '"$[[ inputs.check ]]" == "true"'
when: on_success
- when: never
before_script:
- hadolint --version
script:
......
......@@ -81,6 +81,10 @@ spec:
type: array
description: "Runners"
default: []
check:
type: boolean
description: "Run hadolint"
default: true
---
include:
......@@ -92,6 +96,10 @@ stages: $[[ inputs.stages ]]
check:$[[ inputs.name ]]:
stage: test
image: harbor.local/docker.io/hadolint/hadolint:latest-alpine
rules:
- if: '"$[[ inputs.check ]]" == "true"'
when: on_success
- when: never
before_script:
- hadolint --version
script:
......
......@@ -85,6 +85,10 @@ spec:
type: array
description: "Runners"
default: []
check:
type: boolean
description: "Run hadolint"
default: true
---
include:
......@@ -96,6 +100,10 @@ stages: $[[ inputs.stages ]]
check:$[[ inputs.name ]]:
stage: test
image: harbor.local/docker.io/hadolint/hadolint:latest-alpine
rules:
- if: '"$[[ inputs.check ]]" == "true"'
when: on_success
- when: never
before_script:
- hadolint --version
script:
......