ci: replace shellcheck image

This commit is contained in:
Michael Grote 2024-02-02 22:41:25 +01:00
parent eb3836a5c9
commit 5e86e283d2

View file

@ -1,7 +1,7 @@
--- ---
steps: steps:
gitleaks: gitleaks:
image: zricethezav/gitleaks:v8.18.2 image: zricethezav/gitleaks:v8.18.2@sha256:eadfe256fa18d6a78a717abc9ed454c8e03865d1c46d627bca83977f4424901a
commands: commands:
- gitleaks detect --no-git --verbose --source $CI_WORKSPACE - gitleaks detect --no-git --verbose --source $CI_WORKSPACE
when: when:
@ -10,7 +10,7 @@ steps:
- tag - tag
hadolint: hadolint:
image: pipelinecomponents/hadolint:0.26.0 image: pipelinecomponents/hadolint:0.26.0@sha256:7122937006c7a9bcbb78ce764d3c2f0092f183b843ad128bc9fd6ea918e22d5b
commands: commands:
- hadolint Dockerfile - hadolint Dockerfile
when: when:
@ -19,7 +19,7 @@ steps:
- tag - tag
shellcheck: shellcheck:
image: registry.mgrote.net/allzweckcontainer:latest image: "koalaman/shellcheck-alpine:latest"
commands: commands:
- | - |
find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do find . -type f -not -path './.git/*' -not -path './collections/*' -exec file {} \; | while IFS= read -r line; do
@ -28,8 +28,4 @@ steps:
shellcheck "$file_path" shellcheck "$file_path"
fi fi
done done
when:
event:
exclude:
- tag
... ...