Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix workflow #2

Merged
merged 5 commits into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
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

Check failure on line 7 in Dockerfile

View workflow job for this annotation

GitHub Actions / test

DL3018 warning: Pin versions in apk add. Instead of `apk add <package>` use `apk add <package>=<version>`

# 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 \
Expand Down
13 changes: 13 additions & 0 deletions hadolint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
failure-threshold: error
format: tty
no-color: true
ignored:
- DL3031
- DL3003
- SC2086
- SC2039
- DL3033
- DL4006
- SC1089
- DL3008
- SC2046
Loading