You've already forked yamllint-docker
Compare commits
1 Commits
v1.30.0
...
e7178cd3d9
Author | SHA1 | Date | |
---|---|---|---|
e7178cd3d9
|
16
.drone.yml
16
.drone.yml
@ -69,7 +69,7 @@ steps:
|
|||||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
image: docker.io/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@ -135,7 +135,7 @@ steps:
|
|||||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
image: docker.io/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@ -201,7 +201,7 @@ steps:
|
|||||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
image: docker.io/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@ -265,7 +265,7 @@ steps:
|
|||||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
image: docker.io/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@ -331,7 +331,7 @@ steps:
|
|||||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build-manifest
|
- name: build-manifest
|
||||||
image: harbor.cryptic.systems/docker/plugins/manifest:1.4.0
|
image: docker.io/plugins/manifest:1.4.0
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
@ -449,7 +449,7 @@ steps:
|
|||||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
image: docker.io/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: amd64
|
auto_tag_suffix: amd64
|
||||||
@ -509,7 +509,7 @@ steps:
|
|||||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: harbor.cryptic.systems/docker/plugins/docker:20.18.6
|
image: docker.io/plugins/docker:20.18.8
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: arm64-v8
|
auto_tag_suffix: arm64-v8
|
||||||
@ -574,7 +574,7 @@ steps:
|
|||||||
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
image: git.cryptic.systems/volker.raschek/git:1.4.0
|
||||||
|
|
||||||
- name: build-manifest
|
- name: build-manifest
|
||||||
image: harbor.cryptic.systems/docker/plugins/manifest:1.4.0
|
image: docker.io/plugins/manifest:1.4.0
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
ignore_missing: true
|
ignore_missing: true
|
||||||
|
11
Dockerfile
11
Dockerfile
@ -1,4 +1,4 @@
|
|||||||
FROM docker.io/library/python:3.13.2-alpine AS build
|
FROM docker.io/library/alpine:3.21.3 AS build
|
||||||
|
|
||||||
ARG YAMLLINT_VERSION=master
|
ARG YAMLLINT_VERSION=master
|
||||||
|
|
||||||
@ -8,12 +8,9 @@ RUN set -ex && \
|
|||||||
apk add git python3 py-pip
|
apk add git python3 py-pip
|
||||||
|
|
||||||
RUN git clone --branch ${YAMLLINT_VERSION} https://github.com/adrienverge/yamllint /tmp/yamllint && \
|
RUN git clone --branch ${YAMLLINT_VERSION} https://github.com/adrienverge/yamllint /tmp/yamllint && \
|
||||||
python3 -m venv /venv && \
|
python3 -m pip install /tmp/yamllint && \
|
||||||
/venv/bin/pip3 install /tmp/yamllint && \
|
rm -rf /tmp/yamllint
|
||||||
rm -r -f /tmp/yamllint
|
|
||||||
|
|
||||||
ENV PATH="/venv/bin:${PATH}"
|
|
||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
||||||
ENTRYPOINT [ "yamllint" ]
|
ENTRYPOINT [ "/usr/bin/yamllint" ]
|
||||||
|
6
Makefile
6
Makefile
@ -1,6 +1,6 @@
|
|||||||
# YAMLLINT_VERSION
|
# YAMLLINT_VERSION
|
||||||
# Only required to install a specifiy version
|
# Only required to install a specifiy version
|
||||||
YAMLLINT_VERSION?=v1.30.0 # renovate: datasource=github-releases depName=adrienverge/yamllint
|
YAMLLINT_VERSION?=v1.28.0 # renovate: datasource=github-releases depName=adrienverge/yamllint
|
||||||
|
|
||||||
# CONTAINER_RUNTIME
|
# CONTAINER_RUNTIME
|
||||||
# The CONTAINER_RUNTIME variable will be used to specified the path to a
|
# 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
|
# YAMLLINT_IMAGE_REGISTRY_NAME
|
||||||
# Defines the name of the new container to be built using several variables.
|
# Defines the name of the new container to be built using several variables.
|
||||||
YAMLLINT_IMAGE_REGISTRY_NAME?=git.cryptic.systems
|
YAMLLINT_IMAGE_REGISTRY_NAME:=git.cryptic.systems
|
||||||
YAMLLINT_IMAGE_REGISTRY_USER?=volker.raschek
|
YAMLLINT_IMAGE_REGISTRY_USER:=volker.raschek
|
||||||
|
|
||||||
YAMLLINT_IMAGE_NAMESPACE?=${YAMLLINT_IMAGE_REGISTRY_USER}
|
YAMLLINT_IMAGE_NAMESPACE?=${YAMLLINT_IMAGE_REGISTRY_USER}
|
||||||
YAMLLINT_IMAGE_NAME:=yamllint
|
YAMLLINT_IMAGE_NAME:=yamllint
|
||||||
|
Reference in New Issue
Block a user