You've already forked markdownlint-docker
Compare commits
151 Commits
v0.30.0
...
cf9a17a7b4
Author | SHA1 | Date | |
---|---|---|---|
cf9a17a7b4
|
|||
d2de584110
|
|||
799246e723
|
|||
2e1129b153
|
|||
2ff5a3a885
|
|||
31f932cd16
|
|||
aa3429be16
|
|||
33cf769b65
|
|||
c2798aa53d
|
|||
af94c23490
|
|||
0bcf17723a
|
|||
0a6b3270ae
|
|||
f63f5bcd58
|
|||
db231d8039
|
|||
ce17b2c90e
|
|||
7166d5334c
|
|||
b186d0379f
|
|||
5de23c370f
|
|||
578421ec7a
|
|||
3431c5c56e
|
|||
5b01c18404
|
|||
f6a23f8aad
|
|||
f622fa4309
|
|||
ea289ba1a4
|
|||
e51678d14d
|
|||
9a0d322068
|
|||
85232f35ec
|
|||
9a98acc3f8
|
|||
fbe4485390
|
|||
cee3448ba9
|
|||
7e94d45e3e
|
|||
6d6b262aff
|
|||
5ea24f8ac1
|
|||
a45c7b0226
|
|||
69ff8882bf
|
|||
c93b9e2a98
|
|||
1d7938764c
|
|||
cc9d82caf5
|
|||
6ee4867729
|
|||
ef07b0d1e2
|
|||
fe15de5018
|
|||
63acec5e20
|
|||
1a1c00096f
|
|||
9c64c15a0b
|
|||
985b45b270
|
|||
ed67739374
|
|||
3389167379
|
|||
ab88395fa3 | |||
973f792000
|
|||
2c86022e29
|
|||
19858289a2
|
|||
29a2f48ab3
|
|||
7bf19bfc3f
|
|||
344af3a57c
|
|||
2c7ee3bf89
|
|||
6409a633b9
|
|||
8f4c5dd5a2
|
|||
294db6711f
|
|||
65e4781c7f | |||
0525491204
|
|||
745576228d
|
|||
5a39422556
|
|||
b61ce0b251
|
|||
d52001ea39
|
|||
ccecffb7a6
|
|||
3a19e75b1a
|
|||
a1b8691442
|
|||
8376c88cb8
|
|||
aa2ebc733a
|
|||
bcdfecae15
|
|||
8270972414
|
|||
aa28fab730 | |||
8dfe85b81e | |||
9182c584ac | |||
5b87c43174 | |||
b184cf6a18 | |||
2f8c2fca87 | |||
9a0d1335c2
|
|||
3e3d746ec4 | |||
07fc2cf729 | |||
70cbadba19 | |||
503405a95a | |||
70dcb7fd0e | |||
f320edda8c | |||
cb7cdf5f44 | |||
f8e2bfcafd | |||
230476364d | |||
834c4ee1ae | |||
252979c667
|
|||
8667affd41
|
|||
533c9829b3 | |||
ee3bf1b33b | |||
ffe97a3de9
|
|||
cfc54e9f3c
|
|||
39619bba92 | |||
abd9fcec28 | |||
ea23fa16d8
|
|||
0f0c9c3681 | |||
0e360e96c7 | |||
c1d1f1d729 | |||
9259302166 | |||
8d8d18e583
|
|||
8c151e4a9f | |||
807cc76904
|
|||
40cf201e55
|
|||
decd824748
|
|||
1261bd2077
|
|||
e93c4a7b77 | |||
389fe5e76e | |||
6cbf662b91 | |||
1b36727eb9 | |||
e6435bfa1e
|
|||
a60d5b32fe
|
|||
3b6d36d06d | |||
43025883e1 | |||
01eb154d4a
|
|||
f453a2b92b | |||
83c137e24f | |||
3f6e9136ed
|
|||
fdc5b39f6a
|
|||
be0df123a8 | |||
bf55a651a1
|
|||
f199db68d3 | |||
5b1adb7440
|
|||
f672c8fb13 | |||
709eda51ef | |||
91fc78e658 | |||
556a2e2006 | |||
04b1345a71
|
|||
a5446ba303
|
|||
df22dc8219 | |||
251fe34445 | |||
f3aeb335e7 | |||
d2730585a3
|
|||
595e325c43 | |||
770dc74913
|
|||
4eff9bdbb0
|
|||
67364ffee2
|
|||
8c92b356b3
|
|||
29d1ea0ff2
|
|||
0c87bbe6eb
|
|||
16fc320a9e
|
|||
126140c94c
|
|||
67a902acaf
|
|||
76a6abc21d
|
|||
b56d837ef2 | |||
1356b5b048 | |||
bd50e4f7b2
|
|||
6037be6651
|
|||
42588b3de7
|
|||
4c8744948a |
747
.drone.yml
747
.drone.yml
File diff suppressed because it is too large
Load Diff
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
# IntelliJ
|
# IntelliJ
|
||||||
.idea/
|
.idea/
|
||||||
|
sync.sh
|
@ -45,19 +45,17 @@ MD012:
|
|||||||
# MD013/line-length - Line length
|
# MD013/line-length - Line length
|
||||||
MD013:
|
MD013:
|
||||||
# Number of characters
|
# Number of characters
|
||||||
line_length: 80
|
line_length: 120
|
||||||
# Number of characters for headings
|
# Number of characters for headings
|
||||||
heading_line_length: 80
|
heading_line_length: 120
|
||||||
# Number of characters for code blocks
|
# Number of characters for code blocks
|
||||||
code_block_line_length: 80
|
code_block_line_length: 120
|
||||||
# Include code blocks
|
# Include code blocks
|
||||||
code_blocks: false
|
code_blocks: false
|
||||||
# Include tables
|
# Include tables
|
||||||
tables: false
|
tables: false
|
||||||
# Include headings
|
# Include headings
|
||||||
headings: true
|
headings: true
|
||||||
# Include headings
|
|
||||||
headers: true
|
|
||||||
# Strict length checking
|
# Strict length checking
|
||||||
strict: false
|
strict: false
|
||||||
# Stern length checking
|
# Stern length checking
|
||||||
@ -70,11 +68,6 @@ MD022:
|
|||||||
# Blank lines below heading
|
# Blank lines below heading
|
||||||
lines_below: 1
|
lines_below: 1
|
||||||
|
|
||||||
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
|
|
||||||
MD024:
|
|
||||||
# Only check sibling headings
|
|
||||||
allow_different_nesting: true
|
|
||||||
|
|
||||||
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
|
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
|
||||||
MD025:
|
MD025:
|
||||||
# Heading level
|
# Heading level
|
||||||
@ -128,8 +121,7 @@ MD041:
|
|||||||
# MD044/proper-names - Proper names should have the correct capitalization
|
# MD044/proper-names - Proper names should have the correct capitalization
|
||||||
MD044:
|
MD044:
|
||||||
# List of proper names
|
# List of proper names
|
||||||
names:
|
names: []
|
||||||
- network-tools
|
|
||||||
# Include code blocks
|
# Include code blocks
|
||||||
code_blocks: false
|
code_blocks: false
|
||||||
|
|
||||||
@ -141,4 +133,4 @@ MD046:
|
|||||||
# MD048/code-fence-style - Code fence style
|
# MD048/code-fence-style - Code fence style
|
||||||
MD048:
|
MD048:
|
||||||
# Code fence syle
|
# Code fence syle
|
||||||
style: "backtick"
|
style: "backtick"
|
||||||
|
25
Dockerfile
25
Dockerfile
@ -1,18 +1,19 @@
|
|||||||
FROM docker.io/library/alpine:3.12
|
FROM docker.io/library/node:24.0.1-alpine3.20 AS build
|
||||||
|
|
||||||
ARG NODEJS_VERSION=12.22.6-r0
|
ARG MARKDOWNLINT_VERSION=master
|
||||||
ARG MARKDOWNLINT_VERSION
|
|
||||||
|
|
||||||
RUN set -ex && \
|
RUN set -ex && \
|
||||||
apk add --no-cache nodejs=${NODEJS_VERSION} nodejs-npm=${NODEJS_VERSION}
|
apk update && \
|
||||||
|
apk upgrade && \
|
||||||
|
apk add --no-cache git
|
||||||
|
|
||||||
RUN if [ ! -z "${MARKDOWNLINT_VERSION}" ]; then set -ex; npm install -g markdownlint-cli@${MARKDOWNLINT_VERSION}; fi
|
RUN git clone --branch ${MARKDOWNLINT_VERSION} https://github.com/igorshubovych/markdownlint-cli /markdownlint && \
|
||||||
RUN if [ -z "${MARKDOWNLINT_VERSION}" ]; then set -ex; npm install -g markdownlint-cli; fi
|
cd /markdownlint && \
|
||||||
|
npm install --production && \
|
||||||
RUN set -ex && \
|
npm install --global
|
||||||
npm cache clean --force && \
|
|
||||||
apk del nodejs-npm
|
|
||||||
|
|
||||||
WORKDIR /work
|
WORKDIR /work
|
||||||
ENTRYPOINT ["/usr/bin/markdownlint"]
|
|
||||||
CMD ["."]
|
RUN ln -fs /work /workspace
|
||||||
|
|
||||||
|
ENTRYPOINT [ "/usr/local/bin/markdownlint" ]
|
||||||
|
18
Makefile
18
Makefile
@ -1,22 +1,21 @@
|
|||||||
# MARKDOWNLINT_VERSION
|
# MARKDOWNLINT_VERSION
|
||||||
# Only required to install a specifiy version
|
# Only required to install a specify version
|
||||||
MARKDOWNLINT_VERSION?=
|
MARKDOWNLINT_VERSION?=v0.44.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli
|
||||||
|
|
||||||
# CONTAINER_RUNTIME
|
# CONTAINER_RUNTIME
|
||||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
||||||
# container runtime. This is needed to start and run a container image.
|
# container runtime. This is needed to start and run a container image.
|
||||||
CONTAINER_RUNTIME?=$(shell which docker)
|
CONTAINER_RUNTIME?=$(shell which podman)
|
||||||
|
|
||||||
# MARKDOWNLINT_IMAGE_REGISTRY_NAME
|
# MARKDOWNLINT_IMAGE_REGISTRY_NAME
|
||||||
# Defines the name of the new container to be built using several variables.
|
# Defines the name of the new container to be built using several variables.
|
||||||
MARKDOWNLINT_IMAGE_REGISTRY_NAME:=docker.io
|
MARKDOWNLINT_IMAGE_REGISTRY_NAME?=git.cryptic.systems
|
||||||
MARKDOWNLINT_IMAGE_REGISTRY_USER:=volkerraschek
|
MARKDOWNLINT_IMAGE_REGISTRY_USER?=volker.raschek
|
||||||
|
|
||||||
MARKDOWNLINT_IMAGE_NAMESPACE?=${MARKDOWNLINT_IMAGE_REGISTRY_USER}
|
MARKDOWNLINT_IMAGE_NAMESPACE?=${MARKDOWNLINT_IMAGE_REGISTRY_USER}
|
||||||
MARKDOWNLINT_IMAGE_NAME:=markdownlint
|
MARKDOWNLINT_IMAGE_NAME:=markdownlint
|
||||||
MARKDOWNLINT_IMAGE_VERSION?=latest
|
MARKDOWNLINT_IMAGE_VERSION?=latest
|
||||||
MARKDOWNLINT_IMAGE_FULLY_QUALIFIED=${MARKDOWNLINT_IMAGE_REGISTRY_NAME}/${MARKDOWNLINT_IMAGE_NAMESPACE}/${MARKDOWNLINT_IMAGE_NAME}:${MARKDOWNLINT_IMAGE_VERSION}
|
MARKDOWNLINT_IMAGE_FULLY_QUALIFIED=${MARKDOWNLINT_IMAGE_REGISTRY_NAME}/${MARKDOWNLINT_IMAGE_NAMESPACE}/${MARKDOWNLINT_IMAGE_NAME}:${MARKDOWNLINT_IMAGE_VERSION}
|
||||||
MARKDOWNLINT_IMAGE_UNQUALIFIED=${MARKDOWNLINT_IMAGE_NAMESPACE}/${MARKDOWNLINT_IMAGE_NAME}:${MARKDOWNLINT_IMAGE_VERSION}
|
|
||||||
|
|
||||||
# BUILD CONTAINER IMAGE
|
# BUILD CONTAINER IMAGE
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
@ -28,15 +27,14 @@ container-image/build:
|
|||||||
--no-cache \
|
--no-cache \
|
||||||
--pull \
|
--pull \
|
||||||
--tag ${MARKDOWNLINT_IMAGE_FULLY_QUALIFIED} \
|
--tag ${MARKDOWNLINT_IMAGE_FULLY_QUALIFIED} \
|
||||||
--tag ${MARKDOWNLINT_IMAGE_UNQUALIFIED} \
|
--tag \
|
||||||
.
|
.
|
||||||
|
|
||||||
# DELETE CONTAINER IMAGE
|
# DELETE CONTAINER IMAGE
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
PHONY:=container-image/delete
|
PHONY:=container-image/delete
|
||||||
container-image/delete:
|
container-image/delete:
|
||||||
- ${CONTAINER_RUNTIME} image rm ${MARKDOWNLINT_IMAGE_FULLY_QUALIFIED} ${MARKDOWNLINT_IMAGE_UNQUALIFIED}
|
- ${CONTAINER_RUNTIME} image rm ${MARKDOWNLINT_IMAGE_FULLY_QUALIFIED}
|
||||||
- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL}
|
|
||||||
|
|
||||||
# PUSH CONTAINER IMAGE
|
# PUSH CONTAINER IMAGE
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
@ -49,4 +47,4 @@ container-image/push:
|
|||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
# Declare the contents of the PHONY variable as phony. We keep that information
|
# Declare the contents of the PHONY variable as phony. We keep that information
|
||||||
# in a variable so we can use it in if_changed.
|
# in a variable so we can use it in if_changed.
|
||||||
.PHONY: ${PHONY}
|
.PHONY: ${PHONY}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# markdownlint-docker
|
# markdownlint-docker
|
||||||
|
|
||||||
[](https://drone.cryptic.systems/volker.raschek/markdownlint-docker)
|
|
||||||
[](https://hub.docker.com/r/volkerraschek/markdownlint)
|
[](https://hub.docker.com/r/volkerraschek/markdownlint)
|
||||||
|
|
||||||
This project contains all sources to build the container image
|
This project contains all sources to build the container image
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||||
{{#if build.tags}}
|
{{#if build.tags}}
|
||||||
tags:
|
tags:
|
||||||
{{#each build.tags}}
|
{{#each build.tags}}
|
||||||
@ -7,19 +7,11 @@ tags:
|
|||||||
- "latest"
|
- "latest"
|
||||||
{{/if}}
|
{{/if}}
|
||||||
manifests:
|
manifests:
|
||||||
-
|
- image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
|
||||||
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
|
|
||||||
platform:
|
platform:
|
||||||
architecture: amd64
|
architecture: amd64
|
||||||
os: linux
|
os: linux
|
||||||
-
|
- image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
|
||||||
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7
|
|
||||||
platform:
|
|
||||||
architecture: arm
|
|
||||||
os: linux
|
|
||||||
variant: v7
|
|
||||||
-
|
|
||||||
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
|
|
||||||
platform:
|
platform:
|
||||||
architecture: arm64
|
architecture: arm64
|
||||||
os: linux
|
os: linux
|
||||||
|
@ -1,8 +1,16 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"automerge": true,
|
"extends": [
|
||||||
"automergeStrategy": "merge-commit",
|
"local>volker.raschek/renovate-config:default#master",
|
||||||
"automergeType": "pr",
|
"local>volker.raschek/renovate-config:container#master",
|
||||||
"rebaseLabel": "renovate/rebase",
|
"local>volker.raschek/renovate-config:actions#master",
|
||||||
"rebaseWhen": "behind-base-branch"
|
"local>volker.raschek/renovate-config:regexp#master"
|
||||||
|
],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"automerge": false,
|
||||||
|
"matchPackageNames": [ "markdownlint-cli" ],
|
||||||
|
"matchManagers": [ "regex" ]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user