mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Added hadolint pre-commit hook
This commit is contained in:
4
.hadolint.yaml
Normal file
4
.hadolint.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
override:
|
||||
style:
|
||||
- DL3006 # explicit image tag version
|
||||
- DL3018 # version pin in apk add
|
||||
@@ -17,8 +17,13 @@ repos:
|
||||
hooks:
|
||||
- id: markdownlint
|
||||
args:
|
||||
- -r "~MD013" # ignore line-length rule
|
||||
- -r "~MD013" # ignore line-length rule
|
||||
- repo: https://github.com/ansible-community/ansible-lint
|
||||
rev: v6.0.2
|
||||
rev: v6.1.0
|
||||
hooks:
|
||||
- id: ansible-lint
|
||||
exclude: ^docker/
|
||||
- repo: https://github.com/hadolint/hadolint
|
||||
rev: v2.10.0
|
||||
hooks:
|
||||
- id: hadolint
|
||||
|
||||
@@ -14,8 +14,8 @@ services:
|
||||
TZ: Europe/Amsterdam
|
||||
WEBPASSWORD_FILE: /run/secrets/webpassword
|
||||
volumes:
|
||||
- ./etc-pihole/:/etc/pihole/
|
||||
- ./etc-dnsmasq.d/:/etc/dnsmasq.d/
|
||||
- ./etc-pihole/:/etc/pihole/
|
||||
- ./etc-dnsmasq.d/:/etc/dnsmasq.d/
|
||||
dns:
|
||||
- 127.0.0.1
|
||||
- 1.1.1.1
|
||||
|
||||
@@ -16,8 +16,8 @@ services:
|
||||
# WEBPASSWORD: 'set a secure password here or it will be random'
|
||||
# Volumes store your data between container upgrades
|
||||
volumes:
|
||||
- './etc-pihole/:/etc/pihole/'
|
||||
- './etc-dnsmasq.d/:/etc/dnsmasq.d/'
|
||||
- './etc-pihole/:/etc/pihole/'
|
||||
- './etc-dnsmasq.d/:/etc/dnsmasq.d/'
|
||||
dns:
|
||||
- 127.0.0.1
|
||||
- 1.1.1.1
|
||||
|
||||
Reference in New Issue
Block a user