switch hadolint to gitea-actions
Some checks failed
ci/woodpecker/push/lint Pipeline was successful
gitleaks / gitleaks (push) Failing after 3s
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Michael Grote 2024-08-27 21:20:58 +02:00
parent 34eddefbd4
commit f52f3825eb
2 changed files with 16 additions and 8 deletions

View file

@ -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

View file

@ -1,13 +1,5 @@
--- ---
steps: 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: shellcheck:
image: "koalaman/shellcheck-alpine:v0.10.0" image: "koalaman/shellcheck-alpine:v0.10.0"
commands: commands: