Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:12-alpine as builder
FROM node:12-alpine AS builder

ARG MARKDOWN_CLI_VERSION="0.26.0"

Expand All @@ -23,7 +23,7 @@ COPY ./docker-entrypoint.sh /tmp/rootfs/docker-entrypoint.sh
COPY ./lint /tmp/rootfs/lint

# Image hub: <https://hub.docker.com/r/mhart/alpine-node>, sources: <https://github.com/mhart/alpine-node>
FROM mhart/alpine-node:slim-12 as runtime
FROM mhart/alpine-node:slim-12 AS runtime

LABEL \
# Docs: <https://github.com/opencontainers/image-spec/blob/master/annotations.md>
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
[![Issues][badge_issues]][link_issues]
[![License][badge_license]][link_license]

This repository contains source files of docker image (and [github action][github_actions_doc]) for markdown files linting. Additionally we provides setting _(rules)_ for the most useful cases, like changelog file linting.
This repository contains source files of docker image (and [github action][github_actions_doc]) for markdown files linting. Additionally we provide setting _(rules)_ for the most useful cases, like changelog file linting.

All docker images always can be found on **[this page][link_hub_tags]**.
All docker images can be found on **[this page][link_hub_tags]**.

## Usage

Expand All @@ -24,7 +24,7 @@ This image contains [markdownlint-cli][markdownlint-cli] (node-js) and:

> Major image tag can be updated in any time, but all changes will be backwards compatible.

`markdownlint-cli` supports next options (more details can be found [on project page][markdownlint-cli]):
`markdownlint-cli` supports the following options (more details can be found [on project page][markdownlint-cli]):

```bash
Usage: markdownlint [options] <files|directories|globs>
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v5

- name: Lint changelog file
uses: docker://avtodev/markdown-lint:v1 # fastest way
Expand Down