You've already forked markdownlint-docker
Compare commits
24 Commits
Author | SHA1 | Date | |
---|---|---|---|
ea23fa16d8
|
|||
0f0c9c3681 | |||
0e360e96c7 | |||
c1d1f1d729 | |||
9259302166 | |||
8d8d18e583
|
|||
8c151e4a9f | |||
807cc76904
|
|||
40cf201e55
|
|||
decd824748
|
|||
1261bd2077
|
|||
e93c4a7b77 | |||
389fe5e76e | |||
6cbf662b91 | |||
1b36727eb9 | |||
e6435bfa1e
|
|||
a60d5b32fe
|
|||
3b6d36d06d | |||
43025883e1 | |||
01eb154d4a
|
|||
f453a2b92b | |||
83c137e24f | |||
3f6e9136ed
|
|||
fdc5b39f6a
|
147
.drone.yml
147
.drone.yml
@ -16,7 +16,7 @@ steps:
|
||||
- name: markdown lint
|
||||
commands:
|
||||
- markdownlint *.md
|
||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.33.0
|
||||
image: git.cryptic.systems/volker.raschek/markdownlint:0.36.0
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@ -34,7 +34,7 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@ -57,6 +57,9 @@ name: dry-run-amd64
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
@ -69,10 +72,13 @@ steps:
|
||||
image: docker.io/plugins/docker:20.10.9
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
dry_run: true
|
||||
force_tag: true
|
||||
no_cache: true
|
||||
purge: true
|
||||
mirror:
|
||||
from_secret: docker_io_mirror
|
||||
registry: git.cryptic.systems
|
||||
repo: git.cryptic.systems/volker.raschek/markdownlint
|
||||
tags: latest-amd64
|
||||
@ -93,15 +99,12 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
exclude:
|
||||
@ -120,6 +123,9 @@ name: dry-run-arm-v7
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm
|
||||
@ -132,10 +138,13 @@ steps:
|
||||
image: docker.io/plugins/docker:20.10.9
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
dry_run: true
|
||||
force_tag: true
|
||||
no_cache: true
|
||||
purge: true
|
||||
mirror:
|
||||
from_secret: docker_io_mirror
|
||||
registry: git.cryptic.systems
|
||||
repo: git.cryptic.systems/volker.raschek/markdownlint
|
||||
tags: latest-arm-v7
|
||||
@ -156,15 +165,12 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
exclude:
|
||||
@ -183,6 +189,9 @@ name: dry-run-arm64-v8
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
@ -195,13 +204,16 @@ steps:
|
||||
image: docker.io/plugins/docker:20.10.9
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
dry_run: true
|
||||
force_tag: true
|
||||
no_cache: true
|
||||
purge: true
|
||||
mirror:
|
||||
from_secret: docker_io_mirror
|
||||
registry: git.cryptic.systems
|
||||
tags: latest-arm64-v8
|
||||
repo: git.cryptic.systems/volker.raschek/markdownlint
|
||||
tags: latest-arm64-v8
|
||||
username:
|
||||
from_secret: git_cryptic_systems_container_registry_user
|
||||
password:
|
||||
@ -219,15 +231,12 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
exclude:
|
||||
@ -246,6 +255,9 @@ name: latest-amd64
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
@ -258,9 +270,12 @@ steps:
|
||||
image: docker.io/plugins/docker:20.10.9
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
force_tag: true
|
||||
no_cache: true
|
||||
purge: true
|
||||
mirror:
|
||||
from_secret: docker_io_mirror
|
||||
registry: git.cryptic.systems
|
||||
repo: git.cryptic.systems/volker.raschek/markdownlint
|
||||
tags: latest-amd64
|
||||
@ -281,15 +296,12 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
@ -307,6 +319,9 @@ name: latest-arm-v7
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm
|
||||
@ -319,9 +334,12 @@ steps:
|
||||
image: docker.io/plugins/docker:20.10.9
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
force_tag: true
|
||||
no_cache: true
|
||||
purge: true
|
||||
mirror:
|
||||
from_secret: docker_io_mirror
|
||||
registry: git.cryptic.systems
|
||||
repo: git.cryptic.systems/volker.raschek/markdownlint
|
||||
tags: latest-arm-v7
|
||||
@ -342,15 +360,12 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
@ -368,6 +383,9 @@ name: latest-arm64-v8
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: arm64
|
||||
@ -380,12 +398,15 @@ steps:
|
||||
image: docker.io/plugins/docker:20.10.9
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
force_tag: true
|
||||
no_cache: true
|
||||
purge: true
|
||||
mirror:
|
||||
from_secret: docker_io_mirror
|
||||
registry: git.cryptic.systems
|
||||
tags: latest-arm64-v8
|
||||
repo: git.cryptic.systems/volker.raschek/markdownlint
|
||||
tags: latest-arm64-v8
|
||||
username:
|
||||
from_secret: git_cryptic_systems_container_registry_user
|
||||
password:
|
||||
@ -403,15 +424,12 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- linter
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
@ -429,12 +447,22 @@ name: latest-manifest
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
depends_on:
|
||||
- latest-amd64
|
||||
- latest-arm-v7
|
||||
- latest-arm64-v8
|
||||
|
||||
# docker.io/plugins/manifest only for amd64 architectures available
|
||||
node_selector:
|
||||
kubernetes.io/os: linux
|
||||
kubernetes.io/arch: amd64
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.2.1
|
||||
|
||||
- name: build-manifest
|
||||
image: docker.io/plugins/manifest:latest
|
||||
image: docker.io/plugins/manifest:1.4.0
|
||||
settings:
|
||||
auto_tag: false
|
||||
ignore_missing: true
|
||||
@ -456,7 +484,7 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@ -466,11 +494,6 @@ steps:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- latest-amd64
|
||||
- latest-arm-v7
|
||||
- latest-arm64-v8
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
@ -495,7 +518,7 @@ steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.2.1
|
||||
|
||||
- name: latest-docker-sync
|
||||
- name: latest-sync
|
||||
commands:
|
||||
- skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/markdownlint docker.io/volkerraschek
|
||||
environment:
|
||||
@ -507,7 +530,7 @@ steps:
|
||||
from_secret: container_image_registry_user
|
||||
DEST_CRED_PASSWORD:
|
||||
from_secret: container_image_registry_password
|
||||
image: quay.io/skopeo/stable:v1.11.2
|
||||
image: quay.io/skopeo/stable:v1.13.3
|
||||
|
||||
- name: email-notification
|
||||
environment:
|
||||
@ -521,7 +544,7 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@ -561,9 +584,12 @@ steps:
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: amd64
|
||||
dockerfile: Dockerfile
|
||||
force_tag: true
|
||||
no_cache: true
|
||||
purge: true
|
||||
mirror:
|
||||
from_secret: docker_io_mirror
|
||||
registry: git.cryptic.systems
|
||||
repo: git.cryptic.systems/volker.raschek/markdownlint
|
||||
username:
|
||||
@ -585,7 +611,7 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
@ -618,9 +644,12 @@ steps:
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: arm-v7
|
||||
dockerfile: Dockerfile
|
||||
force_tag: true
|
||||
no_cache: true
|
||||
purge: true
|
||||
mirror:
|
||||
from_secret: docker_io_mirror
|
||||
registry: git.cryptic.systems
|
||||
repo: git.cryptic.systems/volker.raschek/markdownlint
|
||||
username:
|
||||
@ -642,7 +671,7 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
@ -675,9 +704,12 @@ steps:
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: arm64-v8
|
||||
dockerfile: Dockerfile
|
||||
force_tag: true
|
||||
no_cache: true
|
||||
purge: true
|
||||
mirror:
|
||||
from_secret: docker_io_mirror
|
||||
registry: git.cryptic.systems
|
||||
repo: git.cryptic.systems/volker.raschek/markdownlint
|
||||
username:
|
||||
@ -699,7 +731,7 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
when:
|
||||
status:
|
||||
- changed
|
||||
@ -719,12 +751,22 @@ name: tagged-manifest
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
depends_on:
|
||||
- tagged-amd64
|
||||
- tagged-arm-v7
|
||||
- tagged-arm64-v8
|
||||
|
||||
# docker.io/plugins/manifest only for amd64 architectures available
|
||||
node_selector:
|
||||
kubernetes.io/os: linux
|
||||
kubernetes.io/arch: amd64
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.2.1
|
||||
|
||||
- name: build-manifest
|
||||
image: docker.io/plugins/manifest:latest
|
||||
image: docker.io/plugins/manifest:1.4.0
|
||||
settings:
|
||||
auto_tag: true
|
||||
ignore_missing: true
|
||||
@ -746,7 +788,7 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@ -756,11 +798,6 @@ steps:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- tagged-amd64
|
||||
- tagged-arm-v7
|
||||
- tagged-arm64-v8
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
@ -775,11 +812,14 @@ name: tagged-sync
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
depends_on:
|
||||
- tagged-manifest
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: git.cryptic.systems/volker.raschek/git:1.2.1
|
||||
|
||||
- name: tagged-docker-sync
|
||||
- name: tagged-sync
|
||||
commands:
|
||||
- skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/markdownlint docker.io/volkerraschek
|
||||
environment:
|
||||
@ -791,7 +831,7 @@ steps:
|
||||
from_secret: container_image_registry_user
|
||||
DEST_CRED_PASSWORD:
|
||||
from_secret: container_image_registry_password
|
||||
image: quay.io/skopeo/stable:v1.11.2
|
||||
image: quay.io/skopeo/stable:v1.13.3
|
||||
|
||||
- name: email-notification
|
||||
environment:
|
||||
@ -805,7 +845,7 @@ steps:
|
||||
from_secret: smtp_username
|
||||
SMTP_PASSWORD:
|
||||
from_secret: smtp_password
|
||||
image: docker.io/volkerraschek/drone-email:0.1.1
|
||||
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
|
||||
resources:
|
||||
limits:
|
||||
cpu: 150
|
||||
@ -815,11 +855,8 @@ steps:
|
||||
- changed
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- tagged-manifest
|
||||
|
||||
trigger:
|
||||
event:
|
||||
- tag
|
||||
repo:
|
||||
- volker.raschek/markdownlint-docker
|
||||
- volker.raschek/markdownlint-docker
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM docker.io/library/node:lts-alpine3.16 AS build
|
||||
FROM docker.io/library/node:20.7.0-alpine3.18 AS build
|
||||
|
||||
ARG MARKDOWNLINT_VERSION=master
|
||||
|
||||
|
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
# MARKDOWNLINT_VERSION
|
||||
# Only required to install a specifiy version
|
||||
MARKDOWNLINT_VERSION?=v0.34.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli
|
||||
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
|
||||
|
@ -8,9 +8,18 @@
|
||||
{
|
||||
"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,
|
||||
|
Reference in New Issue
Block a user