Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
e8a532ffd5 | |||
754884751e | |||
28bcbd6078 | |||
2718942fd3 | |||
f00f7a7490 | |||
63dba6bd86 | |||
1302e5f2b3 | |||
548c26594e | |||
d945fd2050 |
@ -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
|
||||||
|
22
.gitea/workflows/markdown-linters.yaml
Normal file
22
.gitea/workflows/markdown-linters.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
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@v19.1.0
|
||||||
|
with:
|
||||||
|
globs: '**/*.md'
|
@ -55,7 +55,7 @@ jobs:
|
|||||||
--platform linux/amd64 \
|
--platform linux/amd64 \
|
||||||
--provenance false \
|
--provenance false \
|
||||||
--push \
|
--push \
|
||||||
--tag git.cryptic.systems/volker.raschek/yamllint:1.37.1-amd64 \
|
--tag git.cryptic.systems/volker.raschek/yamllint:${TAG}-amd64 \
|
||||||
.
|
.
|
||||||
|
|
||||||
push-manifest:
|
push-manifest:
|
||||||
|
@ -6,6 +6,7 @@ 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:
|
||||||
|
@ -56,8 +56,6 @@ 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
|
||||||
@ -70,11 +68,6 @@ 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
|
||||||
|
5
Makefile
5
Makefile
@ -16,7 +16,6 @@ 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
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
@ -28,15 +27,13 @@ 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} ${YAMLLINT_IMAGE_UNQUALIFIED}
|
- ${CONTAINER_RUNTIME} image rm ${YAMLLINT_IMAGE_FULLY_QUALIFIED}
|
||||||
- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL}
|
|
||||||
|
|
||||||
# PUSH CONTAINER IMAGE
|
# PUSH CONTAINER IMAGE
|
||||||
# ==============================================================================
|
# ==============================================================================
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
[](https://hub.docker.com/r/volkerraschek/yamllint)
|
[](https://hub.docker.com/r/volkerraschek/yamllint)
|
||||||
|
|
||||||
This project contains all sources to build the container image `docker.io/volkerraschek/yamllint`. The primary goal of
|
This project contains all sources to build the container image `git.cryptic.systems/volker.raschek/yamllint`. The
|
||||||
this project is to package the binary `yamllint` as container image. The source code of the binary can be found in the
|
primary goal of this project is to package the binary `yamllint` as container image. The source code of the binary can
|
||||||
upstream project of [adrienverge](https://github.com/adrienverge/yamllint).
|
be found in the upstream project of [adrienverge](https://github.com/adrienverge/yamllint).
|
||||||
|
|
||||||
The workflow or how `yamllint` can in general be used is documented [here](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/).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user