diff --git a/.github/docker-image.yml b/.github/workflows/docker-image.yml similarity index 98% rename from .github/docker-image.yml rename to .github/workflows/docker-image.yml index 2a17119..6d4fd6b 100644 --- a/.github/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -28,10 +28,11 @@ jobs: - uses: actions/checkout@v3 - name: Run linter (hadolint) - uses: vedmaka/hadolint-action@master + uses: hadolint/hadolint-action@v3.1.0 with: dockerfile: "Dockerfile" config: "hadolint.yaml" + no-color: true # Push image to GitHub Packages. # The image tag pattern is: diff --git a/Dockerfile b/Dockerfile index 825b768..f6e3122 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainers="pavel@wikiteq.com" LABEL org.opencontainers.image.source=https://github.com/WikiTeq/docker-cron # Install required tools -RUN apk add --no-cache jq curl docker-cli # inotify-tools +RUN apk add --no-cache jq curl docker-cli # Latest releases available at https://github.com/aptible/supercronic/releases ENV SUPERCRONIC_URL=https://github.com/aptible/supercronic/releases/download/v0.2.32/supercronic-linux-amd64 \ diff --git a/hadolint.yaml b/hadolint.yaml new file mode 100644 index 0000000..77297ee --- /dev/null +++ b/hadolint.yaml @@ -0,0 +1,13 @@ +failure-threshold: error +format: tty +no-color: true +ignored: + - DL3031 + - DL3003 + - SC2086 + - SC2039 + - DL3033 + - DL4006 + - SC1089 + - DL3008 + - SC2046