From f52f3825ebf38dd1c76594d48a9237ab741c7abc Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 27 Aug 2024 21:20:58 +0200 Subject: [PATCH] switch hadolint to gitea-actions --- .gitea/workflows/hadolint.yaml | 16 ++++++++++++++++ .woodpecker/lint.yml | 8 -------- 2 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 .gitea/workflows/hadolint.yaml diff --git a/.gitea/workflows/hadolint.yaml b/.gitea/workflows/hadolint.yaml new file mode 100644 index 0000000..284a417 --- /dev/null +++ b/.gitea/workflows/hadolint.yaml @@ -0,0 +1,16 @@ +name: gitleaks +on: + push: + branches: [ master ] + pull_request: + +jobs: + gitleaks: + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Run hadolint + uses: docker://pipelinecomponents/hadolint:0.26.4 + with: + args: Dockerfile diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index 07402af..04e5925 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -1,13 +1,5 @@ --- steps: - hadolint: - image: pipelinecomponents/hadolint:0.26.4 - commands: - - hadolint Dockerfile - when: - - event: [push, pull_request, cron] - evaluate: 'CI_COMMIT_AUTHOR_EMAIL != "renovate@mgrote.net"' - shellcheck: image: "koalaman/shellcheck-alpine:v0.10.0" commands: