Compare commits

...

2 commits

Author SHA1 Message Date
67a9eb9e6b
chore(release.yaml): test if multiple items in a list, create a list
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
2025-09-08 15:45:14 +02:00
8d3770b68f
ci: add workflow for linting Dockerfile with hadolint
Signed-off-by: Vojtěch Mareš <vojtech@mares.cz>
2025-09-08 15:39:29 +02:00
2 changed files with 16 additions and 0 deletions

15
.woodpecker/lint.yaml Normal file
View file

@ -0,0 +1,15 @@
when:
- event: [pull_request, tag, cron]
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
- renovate/*
steps:
lint-dockerfile:
image: ghcr.io/hadolint/hadolint:v2.13.1-alpine # 2025-09-02
depends_on: []
commands:
- hadolint --ignore DL3003 --ignore DL3018 Dockerfile
when:
path: "Dockerfile"

View file

@ -56,6 +56,7 @@ steps:
settings:
images:
- registry.mareshq.com/woodpecker-plugins/cosign-sign:next
- registry.mareshq.com/woodpecker-plugins/cosign-sign:next
when:
event: push
branch: main