You've already forked markdownlint-docker
Compare commits
64 Commits
v0.29.0
...
39619bba92
| Author | SHA1 | Date | |
|---|---|---|---|
| 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 | |||
|
ec2286d332
|
|||
|
c3fff14a26
|
|||
|
d928487512
|
|||
|
b5c1b3ef83
|
|||
| edfdbfb08c | |||
|
e13c51ed5a
|
|||
|
3eb3c59ae1
|
880
.drone.yml
880
.drone.yml
File diff suppressed because it is too large
Load Diff
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
# IntelliJ
|
||||
.idea/
|
||||
sync.sh
|
||||
25
Dockerfile
25
Dockerfile
@@ -1,18 +1,19 @@
|
||||
FROM docker.io/library/alpine:3.12
|
||||
FROM docker.io/library/node:20.7.0-alpine3.18 AS build
|
||||
|
||||
ARG NODEJS_VERSION=12.22.6-r0
|
||||
ARG MARKDOWNLINT_VERSION
|
||||
ARG MARKDOWNLINT_VERSION=master
|
||||
|
||||
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 if [ -z "${MARKDOWNLINT_VERSION}" ]; then set -ex; npm install -g markdownlint-cli; fi
|
||||
|
||||
RUN set -ex && \
|
||||
npm cache clean --force && \
|
||||
apk del nodejs-npm
|
||||
RUN git clone --branch ${MARKDOWNLINT_VERSION} https://github.com/igorshubovych/markdownlint-cli /markdownlint && \
|
||||
cd /markdownlint && \
|
||||
npm install --production && \
|
||||
npm install --global
|
||||
|
||||
WORKDIR /work
|
||||
ENTRYPOINT ["/usr/bin/markdownlint"]
|
||||
CMD ["."]
|
||||
|
||||
RUN ln -fs /work /workspace
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/markdownlint" ]
|
||||
|
||||
4
Makefile
4
Makefile
@@ -1,11 +1,11 @@
|
||||
# MARKDOWNLINT_VERSION
|
||||
# Only required to install a specifiy version
|
||||
MARKDOWNLINT_VERSION?=
|
||||
MARKDOWNLINT_VERSION?=v0.37.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli
|
||||
|
||||
# CONTAINER_RUNTIME
|
||||
# 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?=$(shell which docker)
|
||||
CONTAINER_RUNTIME?=$(shell which podman)
|
||||
|
||||
# MARKDOWNLINT_IMAGE_REGISTRY_NAME
|
||||
# Defines the name of the new container to be built using several variables.
|
||||
|
||||
@@ -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}}
|
||||
tags:
|
||||
{{#each build.tags}}
|
||||
@@ -7,14 +7,17 @@ tags:
|
||||
- "latest"
|
||||
{{/if}}
|
||||
manifests:
|
||||
-
|
||||
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
|
||||
- image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
|
||||
platform:
|
||||
architecture: amd64
|
||||
os: linux
|
||||
-
|
||||
image: volkerraschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-armv7
|
||||
- image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7
|
||||
platform:
|
||||
architecture: arm
|
||||
os: linux
|
||||
variant: v7
|
||||
variant: v7
|
||||
- image: git.cryptic.systems/volker.raschek/markdownlint:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
|
||||
platform:
|
||||
architecture: arm64
|
||||
os: linux
|
||||
variant: v8
|
||||
43
renovate.json
Normal file
43
renovate.json
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"assignees": [ "volker.raschek" ],
|
||||
"automergeStrategy": "merge-commit",
|
||||
"automergeType": "pr",
|
||||
"labels": [ "renovate" ],
|
||||
"packageRules": [
|
||||
{
|
||||
"addLabels": [ "renovate/droneci", "renovate/automerge" ],
|
||||
"automerge": true,
|
||||
"excludePackagePatterns": [ "plugins/docker" ],
|
||||
"matchManagers": "droneci",
|
||||
"matchUpdateTypes": [ "minor", "patch"]
|
||||
},
|
||||
{
|
||||
"description": "Automatically update patch version of used container images in docker files",
|
||||
"addLabels": [ "renovate/container-image", "renovate/automerge" ],
|
||||
"automerge": true,
|
||||
"matchBaseBranches": [ "master" ],
|
||||
"matchManagers": [ "dockerfile" ],
|
||||
"matchUpdateTypes": [ "minor", "patch" ]
|
||||
},
|
||||
{
|
||||
"addLabels": [ "renovate/markdownlint-cli", "renovate/automerge" ],
|
||||
"automerge": false,
|
||||
"matchPackageNames": [ "markdownlint-cli" ],
|
||||
"matchManagers": [ "regex" ]
|
||||
}
|
||||
],
|
||||
"rebaseLabel": "renovate/rebase",
|
||||
"rebaseWhen": "behind-base-branch",
|
||||
"regexManagers": [
|
||||
{
|
||||
"description": "Update version",
|
||||
"fileMatch": [
|
||||
"^Makefile$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"MARKDOWNLINT_VERSION\\?=(?<currentValue>.*) # renovate: datasource=(?<datasource>.*) depName=(?<depName>.*)( lookupName=(?<lookupName>.*))?( versioning=(?<versioning>.*))?"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user