cosign-sign/.woodpecker/lint.yaml
Vojtěch Mareš 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

15 lines
344 B
YAML

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"