1 Commits

Author SHA1 Message Date
af0a65edd7 chore(deps): update dependency adrienverge/yamllint to v1.37.1
All checks were successful
Build / build-amd64 (pull_request) Successful in 1m34s
Build / build-arm64 (pull_request) Successful in 1m49s
2025-05-07 17:05:05 +02:00
8 changed files with 29 additions and 44 deletions

View File

@ -3,9 +3,9 @@ name: Build
on: on:
pull_request: pull_request:
types: types:
- opened - "opened"
- reopened - "reopened"
- synchronize - "synchronize"
push: push:
branches: branches:
- master - master
@ -17,7 +17,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4.2.2 - uses: actions/checkout@v4.2.2
- uses: docker/setup-qemu-action@v3.6.0 - uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.11.1 - uses: docker/setup-buildx-action@v3.10.0
- name: Build image - name: Build image
run: | run: |
@ -35,7 +35,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4.2.2 - uses: actions/checkout@v4.2.2
- uses: docker/setup-qemu-action@v3.6.0 - uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.11.1 - uses: docker/setup-buildx-action@v3.10.0
- name: Build image - name: Build image
run: | run: |

View File

@ -1,22 +0,0 @@
name: 'Lint Markdown files'
on:
pull_request:
types:
- opened
- reopened
- synchronize
push:
branches:
- master
workflow_dispatch: {}
jobs:
markdown-lint:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
with:
globs: '**/*.md'

View File

@ -11,7 +11,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4.2.2 - uses: actions/checkout@v4.2.2
- uses: docker/setup-qemu-action@v3.6.0 - uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.11.1 - uses: docker/setup-buildx-action@v3.10.0
- uses: docker/login-action@v3.4.0 - uses: docker/login-action@v3.4.0
with: with:
@ -24,12 +24,11 @@ jobs:
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm') TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \ docker buildx build \
--build-arg YAMLLINT_VERSION=${{ github.ref_name }} \
--file Dockerfile \
--platform linux/arm64 \ --platform linux/arm64 \
--file Dockerfile \
--provenance false \ --provenance false \
--push \
--tag git.cryptic.systems/volker.raschek/yamllint:${TAG}-arm64 \ --tag git.cryptic.systems/volker.raschek/yamllint:${TAG}-arm64 \
--push \
. .
push-amd64: push-amd64:
@ -37,7 +36,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4.2.2 - uses: actions/checkout@v4.2.2
- uses: docker/setup-qemu-action@v3.6.0 - uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.11.1 - uses: docker/setup-buildx-action@v3.10.0
- uses: docker/login-action@v3.4.0 - uses: docker/login-action@v3.4.0
with: with:
@ -50,12 +49,11 @@ jobs:
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm') TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \ docker buildx build \
--build-arg YAMLLINT_VERSION=${{ github.ref_name }} \
--file Dockerfile \
--platform linux/amd64 \ --platform linux/amd64 \
--file Dockerfile \
--provenance false \ --provenance false \
--push \
--tag git.cryptic.systems/volker.raschek/yamllint:${TAG}-amd64 \ --tag git.cryptic.systems/volker.raschek/yamllint:${TAG}-amd64 \
--push \
. .
push-manifest: push-manifest:

View File

@ -6,7 +6,6 @@ on:
- master - master
paths: paths:
- README.md - README.md
workflow_dispatch: {}
jobs: jobs:
update-description-on-hub-docker-io: update-description-on-hub-docker-io:

View File

@ -56,6 +56,8 @@ MD013:
tables: false tables: false
# Include headings # Include headings
headings: true headings: true
# Include headings
headers: true
# Strict length checking # Strict length checking
strict: false strict: false
# Stern length checking # Stern length checking
@ -68,6 +70,11 @@ MD022:
# Blank lines below heading # Blank lines below heading
lines_below: 1 lines_below: 1
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
MD024:
# Only check sibling headings
allow_different_nesting: true
# MD025/single-title/single-h1 - Multiple top-level headings in the same document # MD025/single-title/single-h1 - Multiple top-level headings in the same document
MD025: MD025:
# Heading level # Heading level

View File

@ -1,4 +1,4 @@
FROM docker.io/library/python:3.13.5-alpine AS build FROM docker.io/library/python:3.13.3-alpine AS build
ARG YAMLLINT_VERSION=master ARG YAMLLINT_VERSION=master

View File

@ -1,5 +1,5 @@
# YAMLLINT_VERSION # YAMLLINT_VERSION
# Only required to install a specify version # Only required to install a specifiy version
YAMLLINT_VERSION?=v1.37.1 # renovate: datasource=github-releases depName=adrienverge/yamllint YAMLLINT_VERSION?=v1.37.1 # renovate: datasource=github-releases depName=adrienverge/yamllint
# CONTAINER_RUNTIME # CONTAINER_RUNTIME
@ -16,6 +16,7 @@ YAMLLINT_IMAGE_NAMESPACE?=${YAMLLINT_IMAGE_REGISTRY_USER}
YAMLLINT_IMAGE_NAME:=yamllint YAMLLINT_IMAGE_NAME:=yamllint
YAMLLINT_IMAGE_VERSION?=latest YAMLLINT_IMAGE_VERSION?=latest
YAMLLINT_IMAGE_FULLY_QUALIFIED=${YAMLLINT_IMAGE_REGISTRY_NAME}/${YAMLLINT_IMAGE_NAMESPACE}/${YAMLLINT_IMAGE_NAME}:${YAMLLINT_IMAGE_VERSION} YAMLLINT_IMAGE_FULLY_QUALIFIED=${YAMLLINT_IMAGE_REGISTRY_NAME}/${YAMLLINT_IMAGE_NAMESPACE}/${YAMLLINT_IMAGE_NAME}:${YAMLLINT_IMAGE_VERSION}
YAMLLINT_IMAGE_UNQUALIFIED=${YAMLLINT_IMAGE_NAMESPACE}/${YAMLLINT_IMAGE_NAME}:${YAMLLINT_IMAGE_VERSION}
# BUILD CONTAINER IMAGE # BUILD CONTAINER IMAGE
# ============================================================================== # ==============================================================================
@ -27,13 +28,15 @@ container-image/build:
--no-cache \ --no-cache \
--pull \ --pull \
--tag ${YAMLLINT_IMAGE_FULLY_QUALIFIED} \ --tag ${YAMLLINT_IMAGE_FULLY_QUALIFIED} \
--tag ${YAMLLINT_IMAGE_UNQUALIFIED} \
. .
# DELETE CONTAINER IMAGE # DELETE CONTAINER IMAGE
# ============================================================================== # ==============================================================================
PHONY:=container-image/delete PHONY:=container-image/delete
container-image/delete: container-image/delete:
- ${CONTAINER_RUNTIME} image rm ${YAMLLINT_IMAGE_FULLY_QUALIFIED} - ${CONTAINER_RUNTIME} image rm ${YAMLLINT_IMAGE_FULLY_QUALIFIED} ${YAMLLINT_IMAGE_UNQUALIFIED}
- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL}
# PUSH CONTAINER IMAGE # PUSH CONTAINER IMAGE
# ============================================================================== # ==============================================================================

View File

@ -2,8 +2,8 @@
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/yamllint)](https://hub.docker.com/r/volkerraschek/yamllint) [![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/yamllint)](https://hub.docker.com/r/volkerraschek/yamllint)
This project contains all sources to build the container image `git.cryptic.systems/volker.raschek/yamllint`. The This project contains all sources to build the container image `docker.io/volkerraschek/yamllint`. The primary goal of
primary goal of this project is to package the binary `yamllint` as container image. The source code of the binary can this project is to package the binary `yamllint` as container image. The source code of the binary can be found in the
be found in the upstream project of [adrienverge](https://github.com/adrienverge/yamllint). upstream project of [adrienverge](https://github.com/adrienverge/yamllint).
The workflow or how `yamllint` can in general be used is pretty [documented](https://yamllint.readthedocs.io/en/stable/). The workflow or how `yamllint` can in general be used is documented [here](https://yamllint.readthedocs.io/en/stable/).