26 Commits

Author SHA1 Message Date
2871359f0b chore(deps): update dependency igorshubovych/markdownlint-cli to v0.46.0
All checks were successful
Auto release / tag_on_change (push) Successful in 14s
Build / build-amd64 (push) Successful in 28s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 1m13s
2026-01-04 10:05:32 +01:00
fae7fb057d fix(ci): implement autoreleaser
All checks were successful
Build / build-amd64 (push) Successful in 29s
Lint Markdown files / markdown-lint (push) Successful in 4s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 4s
Build / build-arm64 (push) Successful in 1m12s
2026-01-04 10:04:05 +01:00
4bcfb8fb2d Merge pull request 'chore(deps): update docker/setup-buildx-action action to v3.12.0' (#121) from renovate/actions into master
All checks were successful
Build / build-amd64 (push) Successful in 28s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 1m16s
2025-12-19 11:22:11 +00:00
0399ad2ab5 chore(deps): update docker/setup-buildx-action action to v3.12.0
All checks were successful
Build / build-arm64 (pull_request) Successful in 1m19s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Build / build-amd64 (pull_request) Successful in 28s
2025-12-19 11:09:38 +00:00
eb2ae8b950 Merge pull request 'chore(deps): update davidanson/markdownlint-cli2-action action to v21' (#117) from renovate/davidanson-markdownlint-cli2-action-21.x into master
All checks were successful
Build / build-amd64 (push) Successful in 27s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 1m13s
2025-12-03 02:08:43 +00:00
13b08badc5 chore(deps): update davidanson/markdownlint-cli2-action action to v21
All checks were successful
Build / build-amd64 (pull_request) Successful in 27s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-arm64 (pull_request) Successful in 1m19s
2025-12-02 23:08:42 +00:00
33c45a4c79 Merge pull request 'chore(deps): update actions/checkout action to v6' (#120) from renovate/actions-checkout-6.x into master
All checks were successful
Build / build-amd64 (push) Successful in 28s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 1m14s
2025-12-02 21:49:14 +00:00
06f13d981c chore(deps): update actions/checkout action to v6
All checks were successful
Build / build-amd64 (pull_request) Successful in 26s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-arm64 (pull_request) Successful in 1m10s
2025-12-02 21:10:39 +00:00
09f107184f Merge pull request 'chore(deps): update actions/checkout action to v5.0.1' (#118) from renovate/actions into master
All checks were successful
Build / build-arm64 (push) Successful in 1m14s
Lint Markdown files / markdown-lint (push) Successful in 10s
Build / build-amd64 (push) Successful in 28s
2025-11-17 17:58:39 +00:00
40b2ce1c61 chore(deps): update actions/checkout action to v5.0.1
All checks were successful
Build / build-amd64 (pull_request) Successful in 25s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-arm64 (pull_request) Successful in 1m15s
2025-11-17 17:11:28 +00:00
9896bcc4ba Merge pull request 'chore(deps): update docker/setup-qemu-action action to v3.7.0' (#116) from renovate/actions into master
All checks were successful
Build / build-amd64 (push) Successful in 31s
Lint Markdown files / markdown-lint (push) Successful in 3s
Build / build-arm64 (push) Successful in 1m13s
2025-11-05 17:57:28 +00:00
feb09823bd chore(deps): update docker/setup-qemu-action action to v3.7.0
All checks were successful
Build / build-arm64 (pull_request) Successful in 1m13s
Lint Markdown files / markdown-lint (pull_request) Successful in 21s
Build / build-amd64 (pull_request) Successful in 25s
2025-11-05 17:11:49 +00:00
a020e89413 Merge pull request 'chore(deps): update peter-evans/dockerhub-description action to v5' (#115) from renovate/peter-evans-dockerhub-description-5.x into master
All checks were successful
Build / build-arm64 (push) Successful in 1m11s
Lint Markdown files / markdown-lint (push) Successful in 8s
Build / build-amd64 (push) Successful in 24s
2025-10-02 15:02:04 +00:00
aff7588905 chore(deps): update peter-evans/dockerhub-description action to v5
All checks were successful
Build / build-arm64 (pull_request) Successful in 1m11s
Lint Markdown files / markdown-lint (pull_request) Successful in 8s
Build / build-amd64 (pull_request) Successful in 25s
2025-10-01 16:09:55 +00:00
c4120e47e3 Merge pull request 'chore(deps): update actions/checkout action to v5' (#113) from renovate/actions-checkout-5.x into master
All checks were successful
Build / build-arm64 (push) Successful in 1m9s
Lint Markdown files / markdown-lint (push) Successful in 11s
Build / build-amd64 (push) Successful in 37s
2025-09-29 16:46:41 +00:00
ef0de10bbb chore(deps): update actions/checkout action to v5
All checks were successful
Build / build-arm64 (pull_request) Successful in 1m10s
Lint Markdown files / markdown-lint (pull_request) Successful in 11s
Build / build-amd64 (pull_request) Successful in 25s
2025-09-29 16:08:58 +00:00
6f4fab687f Merge pull request 'chore(deps): update docker/login-action action to v3.6.0' (#114) from renovate/actions into master
All checks were successful
Build / build-amd64 (push) Successful in 25s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 1m15s
2025-09-29 13:41:42 +00:00
50bd1f1d74 chore(deps): update docker/login-action action to v3.6.0
All checks were successful
Build / build-arm64 (pull_request) Successful in 1m16s
Lint Markdown files / markdown-lint (pull_request) Successful in 8s
Build / build-amd64 (pull_request) Successful in 25s
2025-09-29 13:11:19 +00:00
49a66940a7 Merge pull request 'chore(deps): update actions/checkout action to v4.3.0' (#111) from renovate/actions into master
All checks were successful
Build / build-amd64 (push) Successful in 24s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 1m11s
2025-08-11 14:12:33 +00:00
7875f99675 chore(deps): update actions/checkout action to v4.3.0
All checks were successful
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-amd64 (pull_request) Successful in 1m49s
Build / build-arm64 (pull_request) Successful in 1m11s
2025-08-11 13:17:42 +00:00
ce83fc93c8 Merge pull request 'chore(deps): update docker/login-action action to v3.5.0' (#110) from renovate/actions into master
All checks were successful
Build / build-arm64 (push) Successful in 1m15s
Lint Markdown files / markdown-lint (push) Successful in 10s
Build / build-amd64 (push) Successful in 1m11s
2025-08-04 20:15:22 +00:00
c73a647c8b chore(deps): update docker/login-action action to v3.5.0
All checks were successful
Build / build-arm64 (pull_request) Successful in 1m13s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Build / build-amd64 (pull_request) Successful in 1m19s
2025-08-04 16:10:53 +00:00
7a88653b85 chore(deps): update docker/setup-buildx-action action to v3.11.1
All checks were successful
Build / build-arm64 (pull_request) Successful in 1m18s
Lint Markdown files / markdown-lint (pull_request) Successful in 12s
Build / build-amd64 (pull_request) Successful in 1m17s
Build / build-arm64 (push) Successful in 1m12s
Lint Markdown files / markdown-lint (push) Successful in 12s
Build / build-amd64 (push) Successful in 24s
2025-06-18 10:12:59 +00:00
a7663c7038 chore(deps): update docker/setup-buildx-action action to v3.11.0
All checks were successful
Build / build-arm64 (pull_request) Successful in 1m14s
Lint Markdown files / markdown-lint (pull_request) Successful in 9s
Build / build-amd64 (pull_request) Successful in 1m37s
Build / build-arm64 (push) Successful in 1m11s
Lint Markdown files / markdown-lint (push) Successful in 10s
Build / build-amd64 (push) Successful in 1m42s
2025-06-16 13:11:40 +00:00
f142f0e5ef chore(deps): update davidanson/markdownlint-cli2-action action to v20
All checks were successful
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Build / build-amd64 (pull_request) Successful in 22s
Build / build-arm64 (pull_request) Successful in 1m52s
Build / build-amd64 (push) Successful in 1m30s
Lint Markdown files / markdown-lint (push) Successful in 14s
Build / build-arm64 (push) Successful in 2m2s
2025-05-31 12:55:30 +00:00
5627e4f74e docs(README): adapt documentation to be compliant with markdownlint
All checks were successful
Build / build-amd64 (push) Successful in 24s
Lint Markdown files / markdown-lint (push) Successful in 5s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 5s
Build / build-arm64 (push) Successful in 1m47s
2025-05-31 14:14:56 +02:00
8 changed files with 213 additions and 52 deletions

View File

@@ -0,0 +1,72 @@
name: Auto release
on:
push:
branches: [ "master" ]
paths:
- Makefile
env:
GIT_EMAIL: noreply@cryptic.systems
GIT_USER: CSRBot
jobs:
tag_on_change:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5.0.0
with:
fetch-depth: 0
- name: Check if MARKDOWNLINT_VERSION line changed
id: check_change
run: |
echo "changed=false" >> $GITHUB_OUTPUT
for file in Makefile; do
if git diff HEAD~1 HEAD -- "${file}" | grep --quiet '^[+-]MARKDOWNLINT_VERSION'; then
echo "MARKDOWNLINT_VERSION line changed."
echo "changed=true" >> $GITHUB_OUTPUT
break
fi
done
- name: Stop if no change detected
if: steps.check_change.outputs.changed == 'false'
run: echo "No MARKDOWNLINT_VERSION change. Exiting..."
- name: Create and push new tag
id: create_tag
if: steps.check_change.outputs.changed == 'true'
run: |
defined_tag="$(grep --only-matching --perl-regexp 'MARKDOWNLINT_VERSION\?=v?[\d]*(\.[\d]*){0,2}' Makefile | cut --delimiter='=' --fields=2)"
echo "defined_tag=${defined_tag}" >> $GITHUB_OUTPUT
echo "New tag: ${defined_tag}"
git config --local user.name "${GIT_USER}"
git config --local user.email "${GIT_EMAIL}"
git tag -a "${defined_tag}" -m "${defined_tag}"
git push origin "${defined_tag}"
- name: Trigger "Push tagged images" workflow
if: steps.check_change.outputs.changed == 'true'
uses: actions/github-script@v8.0.0
with:
script: |
const workflowFileName = 'release.yaml';
const defaultBranch = context.payload.repository.default_branch;
const definedTag = '${{ steps.create_tag.outputs.defined_tag }}';
await github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: workflowFileName,
ref: defaultBranch,
inputs: {
tag: definedTag
}
});

View File

@@ -15,9 +15,9 @@ jobs:
build-arm64:
runs-on: ubuntu-latest-arm64
steps:
- uses: actions/checkout@v4.2.2
- uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.10.0
- uses: actions/checkout@v6.0.1
- uses: docker/setup-qemu-action@v3.7.0
- uses: docker/setup-buildx-action@v3.12.0
- name: Build image
run: |
@@ -33,9 +33,9 @@ jobs:
build-amd64:
runs-on: ubuntu-latest-amd64
steps:
- uses: actions/checkout@v4.2.2
- uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.10.0
- uses: actions/checkout@v6.0.1
- uses: docker/setup-qemu-action@v3.7.0
- uses: docker/setup-buildx-action@v3.12.0
- name: Build image
run: |

View File

@@ -16,7 +16,7 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: DavidAnson/markdownlint-cli2-action@v19.1.0
- uses: actions/checkout@v6.0.1
- uses: DavidAnson/markdownlint-cli2-action@v21.0.0
with:
globs: '**/*.md'

View File

@@ -4,16 +4,38 @@ on:
push:
tags:
- "**"
workflow_dispatch:
inputs:
tag:
description: "Tag which should be released"
type: string
required: true
jobs:
push-arm64:
runs-on: ubuntu-latest-arm64
steps:
- uses: actions/checkout@v4.2.2
- uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.10.0
- id: version_extraction
name: Extract git tag
run: |
VERSION="${{ inputs.tag || github.ref_name }}"
VERSION="${VERSION#refs/*/}"
- uses: docker/login-action@v3.4.0
echo "Version (raw): ${VERSION}"
echo "Version (cleaned): ${VERSION/v/}"
echo "version_raw=${VERSION}" >> $GITHUB_OUTPUT
echo "version_cleaned=${VERSION/v/}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v6.0.1
with:
fetch-tags: true
ref: "${{ steps.version_extraction.outputs.version_raw }}"
- uses: docker/setup-qemu-action@v3.7.0
- uses: docker/setup-buildx-action@v3.12.0
- uses: docker/login-action@v3.6.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}
@@ -21,25 +43,39 @@ jobs:
- name: Build and push image
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \
--build-arg MARKDOWNLINT_VERSION=${{ github.ref_name }} \
--build-arg MARKDOWNLINT_VERSION=${{ steps.version_extraction.outputs.version_raw }} \
--file Dockerfile \
--platform linux/arm64 \
--provenance false \
--push \
--tag git.cryptic.systems/volker.raschek/markdownlint:${TAG}-arm64 \
--tag git.cryptic.systems/volker.raschek/markdownlint:${{ steps.version_extraction.outputs.version_cleaned }}-arm64 \
.
push-amd64:
runs-on: ubuntu-latest-amd64
steps:
- uses: actions/checkout@v4.2.2
- uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.10.0
- id: version_extraction
name: Extract git tag
run: |
VERSION="${{ inputs.tag || github.ref_name }}"
VERSION="${VERSION#refs/*/}"
- uses: docker/login-action@v3.4.0
echo "Version (raw): ${VERSION}"
echo "Version (cleaned): ${VERSION/v/}"
echo "version_raw=${VERSION}" >> $GITHUB_OUTPUT
echo "version_cleaned=${VERSION/v/}" >> $GITHUB_OUTPUT
- uses: actions/checkout@v6.0.1
with:
fetch-tags: true
ref: "${{ steps.version_extraction.outputs.version_raw }}"
- uses: docker/setup-qemu-action@v3.7.0
- uses: docker/setup-buildx-action@v3.12.0
- uses: docker/login-action@v3.6.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}
@@ -47,15 +83,13 @@ jobs:
- name: Build and push image
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \
--build-arg MARKDOWNLINT_VERSION=${{ github.ref_name }} \
--build-arg MARKDOWNLINT_VERSION=${{ steps.version_extraction.outputs.version_raw }} \
--file Dockerfile \
--platform linux/amd64 \
--provenance false \
--push \
--tag git.cryptic.systems/volker.raschek/markdownlint:${TAG}-amd64 \
--tag git.cryptic.systems/volker.raschek/markdownlint:${{ steps.version_extraction.outputs.version_cleaned }}-amd64 \
.
push-manifest:
@@ -64,7 +98,19 @@ jobs:
- push-arm64
- push-amd64
steps:
- uses: docker/login-action@v3.4.0
- id: version_extraction
name: Extract git tag
run: |
VERSION="${{ inputs.tag || github.ref_name }}"
VERSION="${VERSION#refs/*/}"
echo "Version (raw): ${VERSION}"
echo "Version (cleaned): ${VERSION/v/}"
echo "version_raw=${VERSION}" >> $GITHUB_OUTPUT
echo "version_cleaned=${VERSION/v/}" >> $GITHUB_OUTPUT
- uses: docker/login-action@v3.6.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}
@@ -72,30 +118,38 @@ jobs:
- name: Create and push manifest
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker manifest create git.cryptic.systems/volker.raschek/markdownlint:${{ steps.version_extraction.outputs.version_cleaned }} \
--amend git.cryptic.systems/volker.raschek/markdownlint:${{ steps.version_extraction.outputs.version_cleaned }}-amd64 \
--amend git.cryptic.systems/volker.raschek/markdownlint:${{ steps.version_extraction.outputs.version_cleaned }}-arm64
docker manifest create git.cryptic.systems/volker.raschek/markdownlint:${TAG} \
--amend git.cryptic.systems/volker.raschek/markdownlint:${TAG}-amd64 \
--amend git.cryptic.systems/volker.raschek/markdownlint:${TAG}-arm64
docker manifest push git.cryptic.systems/volker.raschek/markdownlint:${TAG}
docker manifest push git.cryptic.systems/volker.raschek/markdownlint:${{ steps.version_extraction.outputs.version_cleaned }}
sync-to-hub-docker-io:
needs:
- push-manifest
runs-on: ubuntu-latest
steps:
- name: Copy images to docker.io
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
- id: version_extraction
name: Extract git tag
run: |
VERSION="${{ inputs.tag || github.ref_name }}"
VERSION="${VERSION#refs/*/}"
apt-get update --yes
apt-get install --yes skopeo
skopeo copy \
--all \
--dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \
--dest-username ${{ secrets.DOCKER_IO_USERNAME }} \
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
--src-username volker.raschek \
docker://git.cryptic.systems/volker.raschek/markdownlint:${TAG} \
docker://docker.io/volkerraschek/markdownlint:${TAG}
echo "Version (raw): ${VERSION}"
echo "Version (cleaned): ${VERSION/v/}"
echo "version_raw=${VERSION}" >> $GITHUB_OUTPUT
echo "version_cleaned=${VERSION/v/}" >> $GITHUB_OUTPUT
- name: Copy images to docker.io
run: |
apt-get update --yes
apt-get install --yes skopeo
skopeo copy \
--all \
--dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \
--dest-username ${{ secrets.DOCKER_IO_USERNAME }} \
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
--src-username volker.raschek \
docker://git.cryptic.systems/volker.raschek/markdownlint:${{ steps.version_extraction.outputs.version_cleaned }} \
docker://docker.io/volkerraschek/markdownlint:${{ steps.version_extraction.outputs.version_cleaned }}

View File

@@ -13,8 +13,8 @@ jobs:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: peter-evans/dockerhub-description@v4.0.2
- uses: actions/checkout@v6.0.1
- uses: peter-evans/dockerhub-description@v5.0.0
with:
username: ${{ secrets.DOCKER_IO_USERNAME }}
password: ${{ secrets.DOCKER_IO_PASSWORD }}

View File

@@ -1,6 +1,6 @@
# MARKDOWNLINT_VERSION
# Only required to install a specify version
MARKDOWNLINT_VERSION?=v0.45.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli
MARKDOWNLINT_VERSION?=v0.46.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli
# CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a

View File

@@ -6,5 +6,15 @@ This project contains all sources to build the container image `git.cryptic.syst
primary goal of this project is to package the binary `markdownlint-ci` as container image. The source code of the
binary can be found in the upstream project of [igorshubovych](https://github.com/igorshubovych/markdownlint-cli).
The workflow or how `markdownlint-ci` can in general be used is documented
[here](https://github.com/igorshubovych/markdownlint-cli#usage).
The workflow or how `markdownlint-ci` can be used is pretty good
[documented](https://github.com/igorshubovych/markdownlint-cli#usage).
```bash
IMAGE_VERSION=0.45.0
docker run \
--rm \
--volume "$(pwd):$(pwd)" \
--workdir "$(pwd)" \
"git.cryptic.systems/volker.raschek/markdownlint:${IMAGE_VERSION}" \
--help
```

View File

@@ -1,5 +1,19 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"customManagers": [
{
"customType": "regex",
"fileMatch": [
"^README\\.md$"
],
"matchStrings": [
"IMAGE_VERSION=(?<currentValue>.*)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "igorshubovych/markdownlint-cli",
"versioningTemplate": "semver"
}
],
"extends": [
"local>volker.raschek/renovate-config:default#master",
"local>volker.raschek/renovate-config:container#master",
@@ -8,9 +22,20 @@
],
"packageRules": [
{
"automerge": false,
"matchPackageNames": [ "markdownlint-cli" ],
"matchManagers": [ "regex" ]
"addLabels": [
"renovate/automerge"
],
"automerge": true,
"matchPackageNames": [
"igorshubovych/markdownlint-cli"
],
"matchManagers": [
"regex"
],
"matchUpdateTypes": [
"minor",
"patch"
]
}
]
}