diff --git a/.drone.yml b/.drone.yml index 633a551..9eb1547 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ platform: steps: - name: hadolint pull: always - image: hadolint/hadolint:v2.8.0-alpine + image: hadolint/hadolint:v2.9.1-alpine commands: - hadolint --version - hadolint Dockerfile diff --git a/.hadolint.yaml b/.hadolint.yaml index fb42171..721b5de 100644 --- a/.hadolint.yaml +++ b/.hadolint.yaml @@ -17,3 +17,4 @@ override: info: # SC3009 warning: In POSIX sh, brace expansion is undefined. - SC3009 + - DL3061 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 69f6a54..aa4fd5a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,6 @@ fail_fast: false repos: - repo: https://github.com/hadolint/hadolint - rev: v2.8.0 + rev: v2.9.1 hooks: - id: hadolint diff --git a/Makefile b/Makefile index 4886e00..575cf42 100644 --- a/Makefile +++ b/Makefile @@ -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 vcs_ref = $$(git rev-parse --short HEAD) 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 .PHONY: hadolint build kaniko clean test prune