Skip to content

swissgrc/docker-azure-pipelines-markdownlint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for running markdownlint-cli in Azure Pipelines container jobs

License Build Quality Gate Status Pulls Stars

Docker image to run markdownlint commands in Azure Pipelines container jobs.

Usage

This container can be used to run markdownlint commands in Azure Pipelines container jobs.

Azure Pipelines Container Job

To use the image in an Azure Pipelines Container Job add the following task use it with the container property.

The following example shows the container used for linting the repository:

- stage: Build
  jobs:
  - job: Lint
    steps:
    - bash: |
        markdownlint --output /markdownlint.json --json --config /.markdownlint.json /docs
      target: swissgrc/azure-pipelines-markdownlint:latest

Tags

Tag Description Base Image Markdownlint-Cli Size
latest Latest stable release (from main branch) node:20.13.1-bookworm-slim 0.41.0 Docker Image Size (tag)
unstable Latest unstable release (from develop branch) node:20.14.0-bookworm-slim 0.41.0 Docker Image Size (tag)
0.31.1 markdownlint-cli 0.31.1 node:18.4.0-bullseye 0.31.1 Docker Image Size (tag)
0.32.0 markdownlint-cli 0.32.0 node:18.6.0-bullseye 0.32.0 Docker Image Size (tag)
0.32.1 markdownlint-cli 0.32.1 node:18.6.0-bullseye 0.32.1 Docker Image Size (tag)
0.32.2 markdownlint-cli 0.32.2 node:18.7.0-bullseye 0.32.2 Docker Image Size (tag)
0.33.0 markdownlint-cli 0.33.0 node:18.13.0-bullseye 0.33.0 Docker Image Size (tag)
0.34.0 markdownlint-cli 0.34.0 node:20.0.0-bullseye-slim 0.34.0 Docker Image Size (tag)
0.35.0 markdownlint-cli 0.35.0 node:20.3.0-bullseye-slim 0.35.0 Docker Image Size (tag)
0.36.0 markdownlint-cli 0.36.0 node:20.5.1-bookworm-slim 0.36.0 Docker Image Size (tag)
0.37.0 markdownlint-cli 0.37.0 node:20.7.0-bookworm-slim 0.37.0 Docker Image Size (tag)
0.38.0 markdownlint-cli 0.38.0 node:20.10.0-bookworm-slim 0.38.0 Docker Image Size (tag)
0.39.0 markdownlint-cli 0.39.0 node:20.11.0-bookworm-slim 0.39.0 Docker Image Size (tag)
0.40.0 markdownlint-cli 0.40.0 node:20.12.2-bookworm-slim 0.40.0 Docker Image Size (tag)
0.41.0 markdownlint-cli 0.40.0 node:20.13.1-bookworm-slim 0.41.0 Docker Image Size (tag)

Configuration

These environment variables are supported:

Environment variable Default value Description
MARKDOWNLINT_VERSION 0.39.0 Version of markdownlint-cli installed in the image.