You've already forked yamllint-docker
Compare commits
16 Commits
1dae9b3492
...
v1.37.0
Author | SHA1 | Date | |
---|---|---|---|
fecf730771
|
|||
d471ebd82b
|
|||
ccb7f8648a
|
|||
b2d0b1afa5
|
|||
4d6a42376e
|
|||
3e0b6db034
|
|||
d213586484
|
|||
9710d3d75a
|
|||
955bce963c
|
|||
01f334cb27
|
|||
c0013168af
|
|||
9416db9aab
|
|||
ea8855db1e
|
|||
e801b3bbf1
|
|||
8da5d3ffd7
|
|||
05d65f9a8c
|
12
.drone.yml
12
.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: docker.io/plugins/docker:20.18.8
|
image: docker.io/plugins/docker:20.18.6
|
||||||
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: docker.io/plugins/docker:20.18.8
|
image: docker.io/plugins/docker:20.18.6
|
||||||
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: docker.io/plugins/docker:20.18.8
|
image: docker.io/plugins/docker:20.18.6
|
||||||
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: docker.io/plugins/docker:20.18.8
|
image: docker.io/plugins/docker:20.18.6
|
||||||
settings:
|
settings:
|
||||||
auto_tag: false
|
auto_tag: false
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@ -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: docker.io/plugins/docker:20.18.8
|
image: docker.io/plugins/docker:20.18.6
|
||||||
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: docker.io/plugins/docker:20.18.8
|
image: docker.io/plugins/docker:20.18.6
|
||||||
settings:
|
settings:
|
||||||
auto_tag: true
|
auto_tag: true
|
||||||
auto_tag_suffix: arm64-v8
|
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
|
ARG YAMLLINT_VERSION=master
|
||||||
|
|
||||||
@ -8,9 +8,12 @@ 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 pip install /tmp/yamllint && \
|
python3 -m venv /venv && \
|
||||||
rm -rf /tmp/yamllint
|
/venv/bin/pip3 install /tmp/yamllint && \
|
||||||
|
rm -r -f /tmp/yamllint
|
||||||
|
|
||||||
|
ENV PATH="/venv/bin:${PATH}"
|
||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
||||||
ENTRYPOINT [ "/usr/bin/yamllint" ]
|
ENTRYPOINT [ "yamllint" ]
|
||||||
|
2
Makefile
2
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.28.0 # renovate: datasource=github-releases depName=adrienverge/yamllint
|
YAMLLINT_VERSION?=v1.37.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
|
||||||
|
Reference in New Issue
Block a user