Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Pin hadolint Docker image to match the hook rev (#5605)

Konstantin Obenlandd52336dc204b
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0b23a3586..52de5500c 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -166,3 +166,6 @@ repos:
rev: v2.12.0
hooks:
- id: hadolint-docker
+ # The upstream hook leaves the image tag floating at `latest`,
+ # ignoring `rev`. Pin it so lint results are reproducible.
+ entry: ghcr.io/hadolint/hadolint:v2.12.0 hadolint