add pre-commit-config.yaml
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-04-21 16:40:33 +02:00
parent e61c76b1a8
commit 1760f6e6cf
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
2 changed files with 12 additions and 0 deletions

11
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,11 @@
---
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-merge-conflict
- repo: https://git.dotya.ml/wanderer/hadolint-pre-commit
rev: v0.0.1
hooks:
- id: hadolint-container

View File

@ -1,5 +1,6 @@
# docker-fedora-cpp
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![Build Status](https://drone.dotya.ml/api/badges/wanderer/docker-fedora-cpp/status.svg?ref=refs/heads/dev)](https://drone.dotya.ml/wanderer/docker-fedora-cpp)
[![Docker Image Version (latest by date)](https://img.shields.io/docker/v/immawanderer/fedora-cpp)](https://hub.docker.com/r/immawanderer/fedora-cpp/tags/?page=1&ordering=last_updated)
[![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/immawanderer/archlinux/linux-amd64)](https://hub.docker.com/r/immawanderer/fedora-cpp/tags/?page=1&ordering=last_updated&name=linux-amd64)