ci,kaniko,pre-commit: bump hadolint to v2.9.1
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-03-22 23:08:11 +01:00
parent 42c716c6ab
commit fd018b8299
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
4 changed files with 4 additions and 3 deletions

@ -10,7 +10,7 @@ platform:
steps: steps:
- name: hadolint - name: hadolint
pull: always pull: always
image: hadolint/hadolint:v2.8.0-alpine image: hadolint/hadolint:v2.9.1-alpine
commands: commands:
- hadolint --version - hadolint --version
- hadolint Dockerfile - hadolint Dockerfile

@ -17,3 +17,4 @@ override:
info: info:
# SC3009 warning: In POSIX sh, brace expansion is undefined. # SC3009 warning: In POSIX sh, brace expansion is undefined.
- SC3009 - SC3009
- DL3061

@ -2,6 +2,6 @@
fail_fast: false fail_fast: false
repos: repos:
- repo: https://github.com/hadolint/hadolint - repo: https://github.com/hadolint/hadolint
rev: v2.8.0 rev: v2.9.1
hooks: hooks:
- id: hadolint - id: hadolint

@ -11,7 +11,7 @@ kanikocontext = .
kanikoargs = -f=$(dfile) -c=$(kanikocontext) --use-new-run --snapshotMode=redo --build-arg BUILD_DATE=$(build_date) --build-arg VCS_REF=$(vcs_ref) --no-push kanikoargs = -f=$(dfile) -c=$(kanikocontext) --use-new-run --snapshotMode=redo --build-arg BUILD_DATE=$(build_date) --build-arg VCS_REF=$(vcs_ref) --no-push
vcs_ref = $$(git rev-parse --short HEAD) vcs_ref = $$(git rev-parse --short HEAD)
build_date= $$(date -u +"%Y-%m-%dT%H:%M:%SZ") build_date= $$(date -u +"%Y-%m-%dT%H:%M:%SZ")
hadolintimg = hadolint/hadolint:v2.8.0-alpine hadolintimg = hadolint/hadolint:v2.9.1-alpine
hadolintargs = run --rm -i -v $$PWD/.hadolint.yaml:/root/.config/hadolint.yaml hadolintargs = run --rm -i -v $$PWD/.hadolint.yaml:/root/.config/hadolint.yaml
.PHONY: hadolint build kaniko clean test prune .PHONY: hadolint build kaniko clean test prune