You've already forked yamllint-docker
Compare commits
1 Commits
master
...
af0a65edd7
Author | SHA1 | Date | |
---|---|---|---|
af0a65edd7
|
@ -3,9 +3,9 @@ name: Build
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- "opened"
|
||||
- "reopened"
|
||||
- "synchronize"
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
@ -17,7 +17,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- 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
|
||||
run: |
|
||||
@ -35,7 +35,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- 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
|
||||
run: |
|
||||
|
@ -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'
|
@ -11,7 +11,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- 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
|
||||
with:
|
||||
@ -24,12 +24,11 @@ jobs:
|
||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||
|
||||
docker buildx build \
|
||||
--build-arg YAMLLINT_VERSION=${{ github.ref_name }} \
|
||||
--file Dockerfile \
|
||||
--platform linux/arm64 \
|
||||
--file Dockerfile \
|
||||
--provenance false \
|
||||
--push \
|
||||
--tag git.cryptic.systems/volker.raschek/yamllint:${TAG}-arm64 \
|
||||
--push \
|
||||
.
|
||||
|
||||
push-amd64:
|
||||
@ -37,7 +36,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4.2.2
|
||||
- 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
|
||||
with:
|
||||
@ -50,12 +49,11 @@ jobs:
|
||||
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
|
||||
|
||||
docker buildx build \
|
||||
--build-arg YAMLLINT_VERSION=${{ github.ref_name }} \
|
||||
--file Dockerfile \
|
||||
--platform linux/amd64 \
|
||||
--file Dockerfile \
|
||||
--provenance false \
|
||||
--push \
|
||||
--tag git.cryptic.systems/volker.raschek/yamllint:${TAG}-amd64 \
|
||||
--push \
|
||||
.
|
||||
|
||||
push-manifest:
|
||||
|
@ -6,7 +6,6 @@ on:
|
||||
- master
|
||||
paths:
|
||||
- README.md
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
update-description-on-hub-docker-io:
|
||||
|
@ -56,6 +56,8 @@ MD013:
|
||||
tables: false
|
||||
# Include headings
|
||||
headings: true
|
||||
# Include headings
|
||||
headers: true
|
||||
# Strict length checking
|
||||
strict: false
|
||||
# Stern length checking
|
||||
@ -68,6 +70,11 @@ MD022:
|
||||
# Blank lines below heading
|
||||
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:
|
||||
# Heading level
|
||||
|
@ -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
|
||||
|
||||
|
9
Makefile
9
Makefile
@ -1,5 +1,5 @@
|
||||
# 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
|
||||
|
||||
# CONTAINER_RUNTIME
|
||||
@ -16,6 +16,7 @@ YAMLLINT_IMAGE_NAMESPACE?=${YAMLLINT_IMAGE_REGISTRY_USER}
|
||||
YAMLLINT_IMAGE_NAME:=yamllint
|
||||
YAMLLINT_IMAGE_VERSION?=latest
|
||||
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
|
||||
# ==============================================================================
|
||||
@ -27,13 +28,15 @@ container-image/build:
|
||||
--no-cache \
|
||||
--pull \
|
||||
--tag ${YAMLLINT_IMAGE_FULLY_QUALIFIED} \
|
||||
--tag ${YAMLLINT_IMAGE_UNQUALIFIED} \
|
||||
.
|
||||
|
||||
# DELETE CONTAINER IMAGE
|
||||
# ==============================================================================
|
||||
PHONY:=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
|
||||
# ==============================================================================
|
||||
@ -46,4 +49,4 @@ container-image/push:
|
||||
# ==============================================================================
|
||||
# Declare the contents of the PHONY variable as phony. We keep that information
|
||||
# in a variable so we can use it in if_changed.
|
||||
.PHONY: ${PHONY}
|
||||
.PHONY: ${PHONY}
|
@ -2,8 +2,8 @@
|
||||
|
||||
[](https://hub.docker.com/r/volkerraschek/yamllint)
|
||||
|
||||
This project contains all sources to build the container image `git.cryptic.systems/volker.raschek/yamllint`. The
|
||||
primary goal of this project is to package the binary `yamllint` as container image. The source code of the binary can
|
||||
be found in the upstream project of [adrienverge](https://github.com/adrienverge/yamllint).
|
||||
This project contains all sources to build the container image `docker.io/volkerraschek/yamllint`. The primary goal of
|
||||
this project is to package the binary `yamllint` as container image. The source code of the binary can be found in the
|
||||
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/).
|
||||
|
Reference in New Issue
Block a user