diff --git a/.github/README.md b/.github/README.md deleted file mode 100644 index 00d6f86..0000000 --- a/.github/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Yamllint WoodpeckerCI Plugin - -[![pulls](https://img.shields.io/docker/pulls/kokuwaio/yamllint)](https://hub.docker.com/r/kokuwaio/yamllint) -[![size](https://img.shields.io/docker/image-size/kokuwaio/yamllint)](https://hub.docker.com/r/kokuwaio/yamllint) -[![dockerfile](https://img.shields.io/badge/source-Dockerfile%20-blue)](https://git.kokuwa.io/woodpecker/yamllint/src/branch/main/Dockerfile) -[![license](https://img.shields.io/badge/License-EUPL%201.2-blue)](https://git.kokuwa.io/woodpecker/yamllint/src/branch/main/LICENSE) -[![prs](https://img.shields.io/gitea/pull-requests/open/woodpecker/yamllint?gitea_url=https%3A%2F%2Fgit.kokuwa.io)](https://git.kokuwa.io/woodpecker/yamllint/pulls) -[![issues](https://img.shields.io/gitea/issues/open/woodpecker/yamllint?gitea_url=https%3A%2F%2Fgit.kokuwa.io)](https://git.kokuwa.io/woodpecker/yamllint/issues) - -A [WoodpeckerCI](https://woodpecker-ci.org) plugin for [yamllint](https://github.com/adrienverge/yamllint) to lint yaml files. -Also usable with Gitlab, Github or locally, see examples for usage. - -For more documention see: [git.kokuwa.io/woodpecker/yamllint](https://git.kokuwa.io/woodpecker/yamllint) diff --git a/Dockerfile b/Dockerfile index e76d1d9..820a5a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ## Debian base layer with python ## -FROM docker.io/library/debian:12.10-slim@sha256:b1211f6d19afd012477bd34fdcabb6b663d680e0f4b0537da6e6b0fd057a3ec3 AS debian +FROM docker.io/library/debian:12.11-slim@sha256:e5865e6858dacc255bead044a7f2d0ad8c362433cfaa5acefb670c1edf54dfef AS debian RUN rm -rf /etc/*- /tmp/* /var/cache/* /var/log/* /var/lib/dpkg/*-old /var/lib/dpkg/status RUN --mount=type=cache,target=/var/lib/apt/lists,sharing=locked \ apt-get -qq update && \ diff --git a/README.md b/README.md index dd9883a..9808597 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,12 @@ -# Yamllint WoodpeckerCI Plugin +# Yamllint Plugin -[![pulls](https://img.shields.io/docker/pulls/kokuwaio/yamllint)](https://hub.docker.com/r/kokuwaio/yamllint) -[![size](https://img.shields.io/docker/image-size/kokuwaio/yamllint)](https://hub.docker.com/r/kokuwaio/yamllint) -[![dockerfile](https://img.shields.io/badge/source-Dockerfile%20-blue)](https://git.kokuwa.io/woodpecker/yamllint/src/branch/main/Dockerfile) -[![license](https://img.shields.io/badge/License-EUPL%201.2-blue)](https://git.kokuwa.io/woodpecker/yamllint/src/branch/main/LICENSE) -[![prs](https://img.shields.io/gitea/pull-requests/open/woodpecker/yamllint?gitea_url=https%3A%2F%2Fgit.kokuwa.io)](https://git.kokuwa.io/woodpecker/yamllint/pulls) -[![issues](https://img.shields.io/gitea/issues/open/woodpecker/yamllint?gitea_url=https%3A%2F%2Fgit.kokuwa.io)](https://git.kokuwa.io/woodpecker/yamllint/issues) +[![pulls](https://img.shields.io/docker/pulls/kokuwaio/yamllint)](https://hub.docker.com/repository/docker/kokuwaio/yamllint) +[![size](https://img.shields.io/docker/image-size/kokuwaio/yamllint)](https://hub.docker.com/repository/docker/kokuwaio/yamllint) +[![dockerfile](https://img.shields.io/badge/source-Dockerfile%20-blue)](https://github.com/kokuwaio/yamllint/blob/main/Dockerfile) +[![license](https://img.shields.io/github/license/kokuwaio/yamllint)](https://github.com/kokuwaio/yamllint/blob/main/LICENSE) +[![issues](https://img.shields.io/github/issues/kokuwaio/yamllint)](https://github.com/kokuwaio/yamllint/issues) -A [WoodpeckerCI](https://woodpecker-ci.org) plugin for [yamllint](https://github.com/adrienverge/yamllint) to lint yaml files. +A [Woodpecker CI](https://woodpecker-ci.org) plugin for [yamllint](https://github.com/adrienverge/yamllint) to lint yaml files. Also usable with Gitlab, Github or locally, see examples for usage. ## Features @@ -24,6 +23,7 @@ Woodpecker: steps: yamllint: image: kokuwaio/yamllint + depends_on: [] settings: no-warnings: true format: json @@ -37,6 +37,7 @@ Gitlab: ```yaml yamllint: stage: lint + needs: [] image: kokuwaio/yamllint variables: PLUGIN_NO_WARNINGS: true @@ -65,8 +66,8 @@ docker run --rm --volume=$(pwd):$(pwd):ro --workdir=$(pwd) kokuwaio/yamllint --n | Image | Comment | amd64 | arm64 | | ----------------------------------------------------------------------------------- | --------------------------------- |:-----:|:-----:| -| [kokuwaio/yamllint](https://hub.docker.com/r/kokuwaio/yamllint) | Woodpecker plugin | [![size](https://img.shields.io/docker/image-size/kokuwaio/yamllint?arch=amd64&label=)](https://hub.docker.com/r/kokuwaio/yamllint) | [![size](https://img.shields.io/docker/image-size/kokuwaio/yamllint?arch=arm64&label=)](https://hub.docker.com/r/kokuwaio/yamllint) | -| [pipelinecomponents/yamllint](https://hub.docker.com/r/pipelinecomponents/yamllint) | not a Woodpecker plugin | [![size](https://img.shields.io/docker/image-size/pipelinecomponents/yamllint?arch=amd64&label=)](https://hub.docker.com/r/pipelinecomponents/yamllint) | [![size](https://img.shields.io/docker/image-size/pipelinecomponents/yamllint?arch=arm64&label=)](https://hub.docker.com/r/pipelinecomponents/yamllint) | -| [giantswarm/yamllint](https://hub.docker.com/r/giantswarm/yamllint) | not a Woodpecker plugin | [![size](https://img.shields.io/docker/image-size/giantswarm/yamllint?arch=amd64&label=)](https://hub.docker.com/r/giantswarm/yamllint) | [![size](https://img.shields.io/docker/image-size/giantswarm/yamllint?arch=arm64&label=)](https://hub.docker.com/r/giantswarm/yamllint) | -| [cytopia/yamllint](https://hub.docker.com/r/sdesbure/yamllint) | not a Woodpecker plugin, outdated | [![size](https://img.shields.io/docker/image-size/cytopia/yamllint?arch=amd64&label=)](https://hub.docker.com/r/cytopia/yamllint) | [![size](https://img.shields.io/docker/image-size/cytopia/yamllint?arch=arm64&label=)](https://hub.docker.com/r/cytopia/yamllint) | -| [sdesbure/yamllint](https://hub.docker.com/r/sdesbure/yamllint) | not a Woodpecker plugin, outdated | [![size](https://img.shields.io/docker/image-size/sdesbure/yamllint?arch=amd64&label=)](https://hub.docker.com/r/sdesbure/yamllint) | [![size](https://img.shields.io/docker/image-size/sdesbure/yamllint?arch=arm64&label=)](https://hub.docker.com/r/sdesbure/yamllint) | +| [kokuwaio/yamllint](https://hub.docker.com/r/kokuwaio/yamllint) | Woodpecker plugin | [![size](https://img.shields.io/docker/image-size/kokuwaio/yamllint?arch=amd64&label=)](https://hub.docker.com/repository/docker/kokuwaio/yamllint) | [![size](https://img.shields.io/docker/image-size/kokuwaio/yamllint?arch=arm64&label=)](https://hub.docker.com/repository/docker/kokuwaio/yamllint) | +| [pipelinecomponents/yamllint](https://hub.docker.com/r/pipelinecomponents/yamllint) | not a Woodpecker plugin | [![size](https://img.shields.io/docker/image-size/pipelinecomponents/yamllint?arch=amd64&label=)](https://hub.docker.com/repository/docker/pipelinecomponents/yamllint) | [![size](https://img.shields.io/docker/image-size/pipelinecomponents/yamllint?arch=arm64&label=)](https://hub.docker.com/repository/docker/pipelinecomponents/yamllint) | +| [giantswarm/yamllint](https://hub.docker.com/r/giantswarm/yamllint) | not a Woodpecker plugin | [![size](https://img.shields.io/docker/image-size/giantswarm/yamllint?arch=amd64&label=)](https://hub.docker.com/repository/docker/giantswarm/yamllint) | [![size](https://img.shields.io/docker/image-size/giantswarm/yamllint?arch=arm64&label=)](https://hub.docker.com/repository/docker/giantswarm/yamllint) | +| [cytopia/yamllint](https://hub.docker.com/r/sdesbure/yamllint) | not a Woodpecker plugin, outdated | [![size](https://img.shields.io/docker/image-size/cytopia/yamllint?arch=amd64&label=)](https://hub.docker.com/repository/docker/cytopia/yamllint) | [![size](https://img.shields.io/docker/image-size/cytopia/yamllint?arch=arm64&label=)](https://hub.docker.com/repository/docker/cytopia/yamllint) | +| [sdesbure/yamllint](https://hub.docker.com/r/sdesbure/yamllint) | not a Woodpecker plugin, outdated | [![size](https://img.shields.io/docker/image-size/sdesbure/yamllint?arch=amd64&label=)](https://hub.docker.com/repository/docker/sdesbure/yamllint) | [![size](https://img.shields.io/docker/image-size/sdesbure/yamllint?arch=arm64&label=)](https://hub.docker.com/repository/docker/sdesbure/yamllint) |