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:
|
hooks:
|
||||||
- id: markdownlint
|
- id: markdownlint
|
||||||
args:
|
args:
|
||||||
- -r "~MD013" # ignore line-length rule
|
- -r "~MD013" # ignore line-length rule
|
||||||
- repo: https://github.com/ansible-community/ansible-lint
|
- repo: https://github.com/ansible-community/ansible-lint
|
||||||
rev: v6.0.2
|
rev: v6.1.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: ansible-lint
|
- 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
|
TZ: Europe/Amsterdam
|
||||||
WEBPASSWORD_FILE: /run/secrets/webpassword
|
WEBPASSWORD_FILE: /run/secrets/webpassword
|
||||||
volumes:
|
volumes:
|
||||||
- ./etc-pihole/:/etc/pihole/
|
- ./etc-pihole/:/etc/pihole/
|
||||||
- ./etc-dnsmasq.d/:/etc/dnsmasq.d/
|
- ./etc-dnsmasq.d/:/etc/dnsmasq.d/
|
||||||
dns:
|
dns:
|
||||||
- 127.0.0.1
|
- 127.0.0.1
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ services:
|
|||||||
# WEBPASSWORD: 'set a secure password here or it will be random'
|
# WEBPASSWORD: 'set a secure password here or it will be random'
|
||||||
# Volumes store your data between container upgrades
|
# Volumes store your data between container upgrades
|
||||||
volumes:
|
volumes:
|
||||||
- './etc-pihole/:/etc/pihole/'
|
- './etc-pihole/:/etc/pihole/'
|
||||||
- './etc-dnsmasq.d/:/etc/dnsmasq.d/'
|
- './etc-dnsmasq.d/:/etc/dnsmasq.d/'
|
||||||
dns:
|
dns:
|
||||||
- 127.0.0.1
|
- 127.0.0.1
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
|
|||||||
Reference in New Issue
Block a user