You've already forked yamllint-docker
Compare commits
4 Commits
99f600aca2
...
v1.29.0
Author | SHA1 | Date | |
---|---|---|---|
0d567bab32
|
|||
05d65f9a8c
|
|||
bf90bd6727
|
|||
02212a0762
|
12
.drone.yml
12
.drone.yml
@ -69,7 +69,7 @@ steps:
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.18.7
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
@ -135,7 +135,7 @@ steps:
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.18.7
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
@ -201,7 +201,7 @@ steps:
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.18.7
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
@ -265,7 +265,7 @@ steps:
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.18.7
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: false
|
||||
dockerfile: Dockerfile
|
||||
@ -449,7 +449,7 @@ steps:
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.18.7
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: amd64
|
||||
@ -509,7 +509,7 @@ steps:
|
||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||
|
||||
- name: build
|
||||
image: docker.io/plugins/docker:20.18.7
|
||||
image: docker.io/plugins/docker:20.18.6
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: arm64-v8
|
||||
|
11
Dockerfile
11
Dockerfile
@ -1,4 +1,4 @@
|
||||
FROM docker.io/library/alpine:3.21.3 AS build
|
||||
FROM docker.io/library/python:3.13.2-alpine AS build
|
||||
|
||||
ARG YAMLLINT_VERSION=master
|
||||
|
||||
@ -8,9 +8,12 @@ RUN set -ex && \
|
||||
apk add git python3 py-pip
|
||||
|
||||
RUN git clone --branch ${YAMLLINT_VERSION} https://github.com/adrienverge/yamllint /tmp/yamllint && \
|
||||
python3 -m pip install /tmp/yamllint && \
|
||||
rm -rf /tmp/yamllint
|
||||
python3 -m venv /venv && \
|
||||
/venv/bin/pip3 install /tmp/yamllint && \
|
||||
rm -r -f /tmp/yamllint
|
||||
|
||||
ENV PATH="/venv/bin:${PATH}"
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/yamllint" ]
|
||||
ENTRYPOINT [ "yamllint" ]
|
||||
|
6
Makefile
6
Makefile
@ -1,6 +1,6 @@
|
||||
# YAMLLINT_VERSION
|
||||
# Only required to install a specifiy version
|
||||
YAMLLINT_VERSION?=v1.28.0 # renovate: datasource=github-releases depName=adrienverge/yamllint
|
||||
YAMLLINT_VERSION?=v1.29.0 # renovate: datasource=github-releases depName=adrienverge/yamllint
|
||||
|
||||
# CONTAINER_RUNTIME
|
||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
||||
@ -9,8 +9,8 @@ CONTAINER_RUNTIME?=$(shell which podman)
|
||||
|
||||
# YAMLLINT_IMAGE_REGISTRY_NAME
|
||||
# Defines the name of the new container to be built using several variables.
|
||||
YAMLLINT_IMAGE_REGISTRY_NAME:=git.cryptic.systems
|
||||
YAMLLINT_IMAGE_REGISTRY_USER:=volker.raschek
|
||||
YAMLLINT_IMAGE_REGISTRY_NAME?=git.cryptic.systems
|
||||
YAMLLINT_IMAGE_REGISTRY_USER?=volker.raschek
|
||||
|
||||
YAMLLINT_IMAGE_NAMESPACE?=${YAMLLINT_IMAGE_REGISTRY_USER}
|
||||
YAMLLINT_IMAGE_NAME:=yamllint
|
||||
|
@ -1,29 +1,9 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"assignees": [ "volker.raschek" ],
|
||||
"customManagers": [
|
||||
{
|
||||
"customType": "regex",
|
||||
"description": "Extract renovate config",
|
||||
"fileMatch": [
|
||||
"^Makefile$"
|
||||
],
|
||||
"matchStrings": [
|
||||
"^[^\\s]*VERSION(:|\\?)?=\"?(?<currentValue>[\\w.]*)\"? # renovate:([\\s]+datasource=['\"]*(?<datasource>[^\\s\"']*)['\"]*|[\\s]+depName=['\"]*(?<depName>[^\\s'\"]*)['\"]*|[\\s]+registryUrl=['\"]*(?<registryUrl>[^\\s'\"]*)['\"]*|[\\s]+versioning=['\"]*(?<versioning>[^\\s'\"]*)['\"]*)*"
|
||||
]
|
||||
}
|
||||
],
|
||||
"labels": [ "renovate" ],
|
||||
"packageRules": [
|
||||
{
|
||||
"description": "Automatically update grouped public container images - patch",
|
||||
"addLabels": ["renovate/automerge","renovate/container-images"],
|
||||
"automerge": true,
|
||||
"enabled": true,
|
||||
"matchDatasources": ["docker"],
|
||||
"matchUpdateTypes": ["minor", "patch"]
|
||||
}
|
||||
],
|
||||
"rebaseLabel": "renovate/rebase",
|
||||
"rebaseWhen": "behind-base-branch"
|
||||
}
|
||||
"extends": [
|
||||
"local>volker.raschek/renovate-config:default#master",
|
||||
"local>volker.raschek/renovate-config:container#master",
|
||||
"local>volker.raschek/renovate-config:actions#master",
|
||||
"local>volker.raschek/renovate-config:regexp#master"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user