diff --git a/Dockerfile b/Dockerfile index 5eeb837..b4e21cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,5 +3,5 @@ FROM gitea.konchin.com/image/alpine:latest RUN apk --no-cache add --no-check-certificate yamllint ADD entrypoint.sh /entrypoint.sh -ENTRYPOINT ["/usr/bin/sh"] +ENTRYPOINT ["/bin/sh"] CMD ["/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh index 485f40d..0fe25fd 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,3 +1,4 @@ -#!/usr/bin/sh +#!/bin/sh +yamllint --list-files "${INPUT_CONTEXT}" yamllint "${INPUT_CONTEXT}"